Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > App configured as 2.0, throws event implying running as 1.1 in .net form browser control, works fine in IE

Reply
Thread Tools

App configured as 2.0, throws event implying running as 1.1 in .net form browser control, works fine in IE

 
 
jeremy
Guest
Posts: n/a
 
      08-26-2006
I have an ASP.Net 2.0 application running on Windows Server 2003. The
application displays properly in Internet Explorer, however, when I use
a browser control embedded in a .net form, I get an error and am
directed to the Windows Application Event Log. The following message
is logged:

-------------

Source: ASP.NET 1.1.4322.0
Event ID: 1062

It is not possible to run two different versions of ASP.NET in the same
IIS process. Please use the IIS Administration Tool to reconfigure your
server to run the application in a separate process.

-------------

The application is setup under IIS as a 2.0 application. What would
make IIS try to serve it as a 1.1 app? How do I fix this?

 
Reply With Quote
 
 
 
 
Juan T. Llibre
Guest
Posts: n/a
 
      08-26-2006
Was the browser control written for ASP.NET 1.1 ?
You might have to recompile it for 2.0.

Otherwise...run your 1.1 and 2.0 apps in different Application pools.
You cannot run different-version apps in the same App Pool.



Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaņol : http://asp.net.do/foros/
===================================
"jeremy" <> wrote in message
news: ups.com...
>I have an ASP.Net 2.0 application running on Windows Server 2003. The
> application displays properly in Internet Explorer, however, when I use
> a browser control embedded in a .net form, I get an error and am
> directed to the Windows Application Event Log. The following message
> is logged:
>
> -------------
>
> Source: ASP.NET 1.1.4322.0
> Event ID: 1062


> It is not possible to run two different versions of ASP.NET in the same
> IIS process. Please use the IIS Administration Tool to reconfigure your
> server to run the application in a separate process.
>
> -------------
>
> The application is setup under IIS as a 2.0 application. What would
> make IIS try to serve it as a 1.1 app? How do I fix this?



 
Reply With Quote
 
 
 
 
jeremy
Guest
Posts: n/a
 
      08-27-2006
Juan, the browser control is the standard .Net browser control, dropped
in VS.Net 2005 onto a form.

That shouldn't matter though. Why would IIS change how it served the
..Net 2.0 ASP.Net page based on the browser? That's why I'm confused.
It works fine in the debug environment, on XP, but when I publish to
the webserver and run the .Net form on the same webserver, it breaks.

Juan T. Llibre wrote:
> Was the browser control written for ASP.NET 1.1 ?
> You might have to recompile it for 2.0.
>
> Otherwise...run your 1.1 and 2.0 apps in different Application pools.
> You cannot run different-version apps in the same App Pool.
>
>
>
> Juan T. Llibre, asp.net MVP
> aspnetfaq.com : http://www.aspnetfaq.com/
> asp.net faq : http://asp.net.do/faq/
> foros de asp.net, en espaņol : http://asp.net.do/foros/
> ===================================
> "jeremy" <> wrote in message
> news: ups.com...
> >I have an ASP.Net 2.0 application running on Windows Server 2003. The
> > application displays properly in Internet Explorer, however, when I use
> > a browser control embedded in a .net form, I get an error and am
> > directed to the Windows Application Event Log. The following message
> > is logged:
> >
> > -------------
> >
> > Source: ASP.NET 1.1.4322.0
> > Event ID: 1062

>
> > It is not possible to run two different versions of ASP.NET in the same
> > IIS process. Please use the IIS Administration Tool to reconfigure your
> > server to run the application in a separate process.
> >
> > -------------
> >
> > The application is setup under IIS as a 2.0 application. What would
> > make IIS try to serve it as a 1.1 app? How do I fix this?


 
Reply With Quote
 
Juan T. Llibre
Guest
Posts: n/a
 
      08-27-2006
re:
> the browser control is the standard .Net browser control, dropped
> in VS.Net 2005 onto a form.


Unless you do some fancy stepping, the webbrowser control is, normally,
used in Windows Forms applications, not in ASP.NET applications.

Would you describe the method(s) you're using to make it work within ASP.NET ?



Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaņol : http://asp.net.do/foros/
===================================
"jeremy" <> wrote in message
news: ps.com...
Juan, the browser control is the standard .Net browser control, dropped
in VS.Net 2005 onto a form.

That shouldn't matter though. Why would IIS change how it served the
..Net 2.0 ASP.Net page based on the browser? That's why I'm confused.
It works fine in the debug environment, on XP, but when I publish to
the webserver and run the .Net form on the same webserver, it breaks.

Juan T. Llibre wrote:
> Was the browser control written for ASP.NET 1.1 ?
> You might have to recompile it for 2.0.
>
> Otherwise...run your 1.1 and 2.0 apps in different Application pools.
> You cannot run different-version apps in the same App Pool.
>
>
>
> Juan T. Llibre, asp.net MVP
> aspnetfaq.com : http://www.aspnetfaq.com/
> asp.net faq : http://asp.net.do/faq/
> foros de asp.net, en espaņol : http://asp.net.do/foros/
> ===================================
> "jeremy" <> wrote in message
> news: ups.com...
> >I have an ASP.Net 2.0 application running on Windows Server 2003. The
> > application displays properly in Internet Explorer, however, when I use
> > a browser control embedded in a .net form, I get an error and am
> > directed to the Windows Application Event Log. The following message
> > is logged:
> >
> > -------------
> >
> > Source: ASP.NET 1.1.4322.0
> > Event ID: 1062

>
> > It is not possible to run two different versions of ASP.NET in the same
> > IIS process. Please use the IIS Administration Tool to reconfigure your
> > server to run the application in a separate process.
> >
> > -------------
> >
> > The application is setup under IIS as a 2.0 application. What would
> > make IIS try to serve it as a 1.1 app? How do I fix this?



 
Reply With Quote
 
Kevin Jones
Guest
Posts: n/a
 
      08-28-2006
Juan,

he's running either a browser (where the code works) or a WinForms app
with the browser control (where the code fails).

> That shouldn't matter though. Why would IIS change how it served the
> .Net 2.0 ASP.Net page based on the browser? That's why I'm confused.
> It works fine in the debug environment, on XP, but when I publish to
> the webserver and run the .Net form on the same webserver, it breaks.


Are you sure both the browser and the browser control are sending the
request to the exact same URL?

I would also trace the HTTP requests to see if there are any differences
between them (Fiddler http://www.fiddlertool.com is your friend here)

Kevin

Juan T. Llibre wrote:
> re:
>> the browser control is the standard .Net browser control, dropped
>> in VS.Net 2005 onto a form.

>
> Unless you do some fancy stepping, the webbrowser control is, normally,
> used in Windows Forms applications, not in ASP.NET applications.
>
> Would you describe the method(s) you're using to make it work within ASP.NET ?
>
>
>
> Juan T. Llibre, asp.net MVP
> aspnetfaq.com : http://www.aspnetfaq.com/
> asp.net faq : http://asp.net.do/faq/
> foros de asp.net, en espaņol : http://asp.net.do/foros/
> ===================================
> "jeremy" <> wrote in message
> news: ps.com...
> Juan, the browser control is the standard .Net browser control, dropped
> in VS.Net 2005 onto a form.
>
> That shouldn't matter though. Why would IIS change how it served the
> .Net 2.0 ASP.Net page based on the browser? That's why I'm confused.
> It works fine in the debug environment, on XP, but when I publish to
> the webserver and run the .Net form on the same webserver, it breaks.
>
> Juan T. Llibre wrote:
>> Was the browser control written for ASP.NET 1.1 ?
>> You might have to recompile it for 2.0.
>>
>> Otherwise...run your 1.1 and 2.0 apps in different Application pools.
>> You cannot run different-version apps in the same App Pool.
>>
>>
>>
>> Juan T. Llibre, asp.net MVP
>> aspnetfaq.com : http://www.aspnetfaq.com/
>> asp.net faq : http://asp.net.do/faq/
>> foros de asp.net, en espaņol : http://asp.net.do/foros/
>> ===================================
>> "jeremy" <> wrote in message
>> news: ups.com...
>>> I have an ASP.Net 2.0 application running on Windows Server 2003. The
>>> application displays properly in Internet Explorer, however, when I use
>>> a browser control embedded in a .net form, I get an error and am
>>> directed to the Windows Application Event Log. The following message
>>> is logged:
>>>
>>> -------------
>>>
>>> Source: ASP.NET 1.1.4322.0
>>> Event ID: 1062
>>> It is not possible to run two different versions of ASP.NET in the same
>>> IIS process. Please use the IIS Administration Tool to reconfigure your
>>> server to run the application in a separate process.
>>>
>>> -------------
>>>
>>> The application is setup under IIS as a 2.0 application. What would
>>> make IIS try to serve it as a 1.1 app? How do I fix this?

>
>

 
Reply With Quote
 
Juan T. Llibre
Guest
Posts: n/a
 
      08-28-2006
re:
> he's running either a browser (where the code works) or a WinForms app with the browser control
> (where the code fails).


Thanks, Kevin. It wasn't very apparent that he's running both.

re:
> I would also trace the HTTP requests


Also, check that the code allows for the members to be handled, per:
http://msdn.microsoft.com/library/de...webbrowser.asp




Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaņol : http://asp.net.do/foros/
===================================
"Kevin Jones" <> wrote in message
news:...
> Juan,
>
> he's running either a browser (where the code works) or a WinForms app with the browser control
> (where the code fails).
>
> > That shouldn't matter though. Why would IIS change how it served the
> > .Net 2.0 ASP.Net page based on the browser? That's why I'm confused.
> > It works fine in the debug environment, on XP, but when I publish to
> > the webserver and run the .Net form on the same webserver, it breaks.

>
> Are you sure both the browser and the browser control are sending the request to the exact same
> URL?
>
> I would also trace the HTTP requests to see if there are any differences between them (Fiddler
> http://www.fiddlertool.com is your friend here)
>
> Kevin
>
> Juan T. Llibre wrote:
>> re:
>>> the browser control is the standard .Net browser control, dropped
>>> in VS.Net 2005 onto a form.

>>
>> Unless you do some fancy stepping, the webbrowser control is, normally,
>> used in Windows Forms applications, not in ASP.NET applications.
>>
>> Would you describe the method(s) you're using to make it work within ASP.NET ?
>>
>>
>>
>> Juan T. Llibre, asp.net MVP
>> aspnetfaq.com : http://www.aspnetfaq.com/
>> asp.net faq : http://asp.net.do/faq/
>> foros de asp.net, en espaņol : http://asp.net.do/foros/
>> ===================================
>> "jeremy" <> wrote in message
>> news: ps.com...
>> Juan, the browser control is the standard .Net browser control, dropped
>> in VS.Net 2005 onto a form.
>>
>> That shouldn't matter though. Why would IIS change how it served the
>> .Net 2.0 ASP.Net page based on the browser? That's why I'm confused.
>> It works fine in the debug environment, on XP, but when I publish to
>> the webserver and run the .Net form on the same webserver, it breaks.
>>
>> Juan T. Llibre wrote:
>>> Was the browser control written for ASP.NET 1.1 ?
>>> You might have to recompile it for 2.0.
>>>
>>> Otherwise...run your 1.1 and 2.0 apps in different Application pools.
>>> You cannot run different-version apps in the same App Pool.
>>>
>>>
>>>
>>> Juan T. Llibre, asp.net MVP
>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>> asp.net faq : http://asp.net.do/faq/
>>> foros de asp.net, en espaņol : http://asp.net.do/foros/
>>> ===================================
>>> "jeremy" <> wrote in message
>>> news: ups.com...
>>>> I have an ASP.Net 2.0 application running on Windows Server 2003. The
>>>> application displays properly in Internet Explorer, however, when I use
>>>> a browser control embedded in a .net form, I get an error and am
>>>> directed to the Windows Application Event Log. The following message
>>>> is logged:
>>>>
>>>> -------------
>>>>
>>>> Source: ASP.NET 1.1.4322.0
>>>> Event ID: 1062
>>>> It is not possible to run two different versions of ASP.NET in the same
>>>> IIS process. Please use the IIS Administration Tool to reconfigure your
>>>> server to run the application in a separate process.
>>>>
>>>> -------------
>>>>
>>>> The application is setup under IIS as a 2.0 application. What would
>>>> make IIS try to serve it as a 1.1 app? How do I fix this?

>>


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
App cannot access the internet when run on Vista but works fine on Jon Prisbe ASP .Net Security 0 02-15-2008 06:15 PM
AJAX app will not make call on Safari and FireFox, works fine on Internet Explorer, any ideas? JDeats ASP .Net 2 09-11-2007 10:20 PM
Dell X200 Cold-boot is fine, reboot throws "Operating System Not Found" Mike Computer Information 3 10-17-2005 03:18 PM
Dell X200 Cold-boot is fine, reboot throws "Operating System Not Found" Mike Computer Support 3 10-17-2005 03:18 PM
WebMethod works fine until it hits the closing braces - throws System.StackOverflowException niama ASP .Net Web Services 2 03-09-2005 05:53 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57