asp.net - Webresource.axd? - 500 internal server error -


I'm trying to use a file upload control from the obout control library, I really like it, and Flash without anybody! ..

I downloaded the whole installer, played with the settings of the spec, and made the control work exactly as I wanted.

I had a new web app change these VS2008, and web.config, DLLs, and folders with style code, as well as aspx pages that I gave me the desired output.

I have created a new project, and it ran away, the control is loaded, and works fine.


Now I want to use it already in the current project on which I am working, so I have folders with web.config value, DLS, and style code and ASPX page I've twisted them.

I put them in the same place that I did with the other project, made it and ran the page .. But when I clicked a button on a webresource me Axd error found, 2 ac tili, end in Not both encryption.

After doing some research, it seems that webresource.axd can be loaded dynamic JavaScript and CSS files etc ... Soon my guess control at this point included in a hidden path This requires JavaScript files as well .. And it also includes failure on them .. which tricks me.

I've stripped everything from my project, and it's still unsuccessful, I found an article which could be the site's IIS configuration, so I checked, with the XD extension. Net 2.0 is a mapping for Lib file .. So I suspect that this was the issue, although I removed the iis site and made it again .. and it still does not work ...

I have also included this line in web config.

  & lt; Verb = "get" path = "WebResource.axd" type = "System.Web.Handlers.AssemblyResourceLoader" valid = "true" />  

It also did not seem to help.

Do anyone know where I can go with this? ...

Edit: i occurred in the event viewer ..

  Event code: 3005 Event message: An unrestricted exception occurred. Event Time: 2009/05/05 14:38:16 Event Time (UTC): 2009/05/05 18:38:16 Event ID: 8579dbce2f5844169b1740bb95ebffb1 Event Sequence: 8 Event Event: 1 Event Extension Code: 0 Application Information: Application Domain: / LM / WSSVC / 1 / Root / SVN_Works / WWWROOT / WorkAstight System-12-128860222914549340 Trust Level: Full Virtual Path: / SVN_Workspace / WWWROT / Workstation System Application Path: c: \ inetpub \ wwwroot \ SVN_WORKSPACE \ WWWROOT \ WorkEstimateSystem \ Machine Name: GREGE6500 Process Information: Process ID: 2276 Process name: Aspnet_wpkexe Account Name: GREGE6500 \ ASPNET Exception information: Exception type: HttpException exception message: Session state is not available in this context. Request information: Request URL: http: //localhost/SVN_WORKSPACE/WWWROOT/WorkEstimateSystem/WebResource.axd d = gPWI1Nyst2kh_ORsvV-AHCh4GSmizSjDuHRCpBgAKBsmi1Zr6e44K950Zcfsdc4p2GuNTPmRl4yAADV0USSNLFQQ7sk-iY1WVt4JJWJE_yg1 & amp; T = 633771228432707325 request path: /SVN_WORKSPACE/WWWROOT/WorkEstimateSystem/WebResource.axd User host address: 127.0.0.1 User: authenticated: False Authentication Type: Thread account name: GREGE6500 \ ASPNET Thread information: Thread ID: 8 Thread account name: GREGE6500 \ ASPNET is holding: Incorrect stack trace: GlobalClass.CheckLogin (String pagerequested) on GlobalClass.Application_OnPostRequestHandlerExecute (Object Sender, EventArgs e) on SystemWeb.HttpApplication.get_Session () on GlobalClass.CURRENT_EMPLOYEE_ID () .Web.HttpApplication.SyncEventExecutionStep.SystemWeb.HttpApplication.IExecutionStep.Execute () on HttpApplication.ExecuteS on System.Web tep (IExecutionStep phase, B oolean & amp; full synchronous) Custom event details: For more information, see Help on http://go.microsoft.com/fwlink/events.asp and Support Center.  

global.asax has application start and closing functions along with some session start and closing functions. There is just a way to say that the request is coming from an ADD Do some different or not run these custom functions

Sure:?

Inside the Global.asax page ..

  sub Application_OnPostRequestHandlerExecute (ByVal select case was requested as this object, ByVal e as EventArgs) Page Name "WebResource.axd" exit  

This is fixed!

"application_OnPostRequestHandlerExecute" method never runs for requests. Net handles include "WebResource.xd" in that method, check to see if the current URL is "webresource.axd". If so, do not use the session.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -