Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Windows Xp problem
siroman
#1 Posted : Tuesday, August 30, 2011 7:32:21 AM(UTC)
Groups: Member
Joined: 4/5/2011(UTC)
Posts: 8

Was thanked: 2 time(s) in 2 post(s)
I'm trying various scenario for UWS installation. On WinXP (sp3, 32bit) I'm having some trouble with a Asp.Net 4.0 Mvc 2 application: registering the app and then browsing give me a "Bad Request (Invalid Hostname)" on the browser. On my developing machine (Win7 64bit) it works perfectly.
Let me know your thoughts, thanks
simone
Ultidev Team
#2 Posted : Tuesday, August 30, 2011 9:45:47 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hello, Simone.

Could you please take a screenshot of the browser with error message, and browser address bar so we could see which hostname was requested, and attach it to your reply?

Also, if you have Fiddler installed, please export the request/response session(s) and either attach them or send them to us privately. Fiddler traces are the best bet regarding quick diagnoses of issues of this sort.

And thank you again for using our product.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
siroman
#3 Posted : Wednesday, August 31, 2011 11:03:05 AM(UTC)
Groups: Member
Joined: 4/5/2011(UTC)
Posts: 8

Was thanked: 2 time(s) in 2 post(s)
I'm no more able to reproduce the "Bad Request" error. Now the UWS appears to reet connection after request, but serves regularly requests for static content (here http://dl.dropbox.com/u/18469845/UWS.zip you can download a .zip file containing both a screenshot and a fiddler session.
Thank you
simone
Ultidev Team
#4 Posted : Wednesday, August 31, 2011 11:12:04 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hello, Simone.

The server had no trouble service favicon.ico, so server appears to be working. What was supposed to be returned from http://localhost:4632/? What kind of page is that: an ASPX, a static HTML, HttpHandler? If it's ASPX or HttpHandler, can you set a breakpoint there in the debugger and ensure that application is not hanging or anything?

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
siroman
#5 Posted : Thursday, September 1, 2011 10:47:06 AM(UTC)
Groups: Member
Joined: 4/5/2011(UTC)
Posts: 8

Was thanked: 2 time(s) in 2 post(s)
Don't blame me, it was my fault: I update some references (Combres and SparkViewEngine) that require now Webactivator which in turn references the assembly Microsoft.Web.Infrastructure: on my developing machine this assembly in in the GAC (IIS Express installed), but it's not so in production machines. The doubt is why UWS resets the connection instead of providing the correct probing error (even setting compilation\debug to true). In any case, including the required assembly in the bin folder solved the problem and UWS works well.
Thank you
simone
Ultidev Team
#6 Posted : Thursday, September 1, 2011 10:57:25 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hello, Simone.

You're right, we'd expect "ASP.NET yellow screen of death" with probing error rather that connection reset. What this might mean is that entire ASP.NET AppDomain (that we spawn) has crashed before your app ever got control. If you send us your exported event log, that could shed some light on whether we could do something better to make the error more obvious.

We understand that in order to reproduce the problem we'd have to run an application missing one of its dependency assemblies, right?

Thank you,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
siroman
#7 Posted : Friday, September 2, 2011 4:01:32 AM(UTC)
Groups: Member
Joined: 4/5/2011(UTC)
Posts: 8

Was thanked: 2 time(s) in 2 post(s)
Here it is: http://dl.dropbox.com/u/18469845/UWS.evt Yes, to reproduce the error I simply removed one required assembly from the bin folder. Effectively, the Windows log event is very clear about the lack of an assembly, not so the UWS bahaviour. In any case, keep on the good job.
Thank you
1 user thanked siroman for this useful post.
Ultidev Team on 9/2/2011(UTC)
Ultidev Team
#8 Posted : Friday, September 2, 2011 10:45:42 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Thank you much, Simon, for another good steps-to-repro!

The event log shows that missing references do crash the ASP.NET AppDomain hosting the application. UWS then sees the application gone and re-creates the AppDomain and reloads the application - thus the reset connection and not yellow screen of death. We'll see if we can catch this exception before it crashes the AppDomain.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Ultidev Team
#9 Posted : Tuesday, September 6, 2011 2:11:20 PM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hello, Simon.

We were unable to reproduce the problem. We used both test and a real-world projects, and both cases we got ASP.NET yellow screen error saying something like "Could not load file or assembly 'RefClassLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified."

Can you think of what makes your project different and causes this behavior?

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Rss Feed  Atom Feed
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.