Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
DotNet
acad.assignment.mngr
academic
adonet
aspnet
aspnet.announcements
aspnet.build.controls
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
clr
compactframework
component_services
datatools
distributed_apps
drawing
faqs
framework
framework.wmi
general
internationalization
interop
languages.csharp
languages.jscript
languages.vb
languages.vb.controls
languages.vb.data
languages.vb.upgrade
languages.vc
languages.vc.libraries
myservices
odbcnet
performance
remoting
scripting
sdk
security
setup
vjsharp
vsa
webservi.enhancements
webservices
windowsforms
windowsforms.controls
winforms.databinding
winforms.designtime
xml
  
 
date: Mon, 21 Apr 2008 11:35:00 -0700,    group: microsoft.public.dotnet.framework.aspnet.webservices        back       


Visual Studio 2008 Webservice conversion problem   
Hi,

 I have a problem that confounds me. We have made a decision to go with 
Visual Studio 2008. I have a webservice that was working fine in our dev 
environment under 2005. The webservice needs to be able to run on Windows 
2000 servers and Windows 2003 so I made the decision to Target Framework 
version 2.0. I uninstalled the Webservice on our test server and installed 
the new one. The Test environment happens to be a Windows 2003 Server. I am 
now failing with

Exception type: HttpParseException 
    Exception message: Could not create type

messages. Nothing has changed in the structure or the code. I simple 
converted the project to 2008 and recompiled... Any help would be greately 
appreciated.

Regards,

 Jim
date: Mon, 21 Apr 2008 11:35:00 -0700   author:   jms

Re: Visual Studio 2008 Webservice conversion problem   
"jms"  wrote in message 
news:C9B420A3-1A79-4228-87E6-F010EAA51F1A@microsoft.com...
> Hi,
>
> I have a problem that confounds me. We have made a decision to go with
> Visual Studio 2008. I have a webservice that was working fine in our dev
> environment under 2005. The webservice needs to be able to run on Windows
> 2000 servers and Windows 2003 so I made the decision to Target Framework
> version 2.0. I uninstalled the Webservice on our test server and installed
> the new one. The Test environment happens to be a Windows 2003 Server. I 
> am
> now failing with
>
> Exception type: HttpParseException
>    Exception message: Could not create type
>
> messages. Nothing has changed in the structure or the code. I simple
> converted the project to 2008 and recompiled... Any help would be greately
> appreciated.

Could not create type usually means that your code did not actually compile.

Did you create your projects using File->New Project, or File->New Web Site? 
Web Sites aren't projects, so they don't compile.

-- 
--------------------------------------------------------------------------------
John Saunders | MVP – Windows Server System – Connected System Developer
date: Mon, 21 Apr 2008 14:51:11 -0400   author:   John Saunders

Re: Visual Studio 2008 Webservice conversion problem   
John,

 Thanks for the reply but I said nothing of Website. I have a webservice 
project that was created under visual studio 2005. ASP.Net Webservice 
application to be exact in case we are getting lost in semantics. I upgraded 
the project to Visual Studio 2008 and targeted the Framework to 2.0 since it 
needs to run on Windows 2000. There are no changes either code or directory 
structure. IIS is configured for a 2.0 application.  And yes to your last 
question the code most certainly compiled prior to it being deployed.

One thing is interesting I have an installer project that was also upgraded 
from VS 2005.. Maybe I will get rid of it and create a new Install project in 
VS2008.

"John Saunders" wrote:

> "jms"  wrote in message 
> news:C9B420A3-1A79-4228-87E6-F010EAA51F1A@microsoft.com...
> > Hi,
> >
> > I have a problem that confounds me. We have made a decision to go with
> > Visual Studio 2008. I have a webservice that was working fine in our dev
> > environment under 2005. The webservice needs to be able to run on Windows
> > 2000 servers and Windows 2003 so I made the decision to Target Framework
> > version 2.0. I uninstalled the Webservice on our test server and installed
> > the new one. The Test environment happens to be a Windows 2003 Server. I 
> > am
> > now failing with
> >
> > Exception type: HttpParseException
> >    Exception message: Could not create type
> >
> > messages. Nothing has changed in the structure or the code. I simple
> > converted the project to 2008 and recompiled... Any help would be greately
> > appreciated.
> 
> Could not create type usually means that your code did not actually compile.
> 
> Did you create your projects using File->New Project, or File->New Web Site? 
> Web Sites aren't projects, so they don't compile.
> 
> -- 
> --------------------------------------------------------------------------------
> John Saunders | MVP – Windows Server System – Connected System Developer
>  
> 
>
date: Mon, 21 Apr 2008 12:10:01 -0700   author:   jms

Re: Visual Studio 2008 Webservice conversion problem   
I figured out what the issue was now I have to figure out why. The installer 
project (also originally created in 2005 and upgraded) created an additional 
bin directory which held the executable. The structure looked like this.

 WebServiceFolder
     |    
    Bin
      |
     Bin

 Again, now changes were made to the application simply a rebuild after an 
upgrade. 
  

"jms" wrote:

> John,
> 
>  Thanks for the reply but I said nothing of Website. I have a webservice 
> project that was created under visual studio 2005. ASP.Net Webservice 
> application to be exact in case we are getting lost in semantics. I upgraded 
> the project to Visual Studio 2008 and targeted the Framework to 2.0 since it 
> needs to run on Windows 2000. There are no changes either code or directory 
> structure. IIS is configured for a 2.0 application.  And yes to your last 
> question the code most certainly compiled prior to it being deployed.
> 
> One thing is interesting I have an installer project that was also upgraded 
> from VS 2005.. Maybe I will get rid of it and create a new Install project in 
> VS2008.
> 
> "John Saunders" wrote:
> 
> > "jms"  wrote in message 
> > news:C9B420A3-1A79-4228-87E6-F010EAA51F1A@microsoft.com...
> > > Hi,
> > >
> > > I have a problem that confounds me. We have made a decision to go with
> > > Visual Studio 2008. I have a webservice that was working fine in our dev
> > > environment under 2005. The webservice needs to be able to run on Windows
> > > 2000 servers and Windows 2003 so I made the decision to Target Framework
> > > version 2.0. I uninstalled the Webservice on our test server and installed
> > > the new one. The Test environment happens to be a Windows 2003 Server. I 
> > > am
> > > now failing with
> > >
> > > Exception type: HttpParseException
> > >    Exception message: Could not create type
> > >
> > > messages. Nothing has changed in the structure or the code. I simple
> > > converted the project to 2008 and recompiled... Any help would be greately
> > > appreciated.
> > 
> > Could not create type usually means that your code did not actually compile.
> > 
> > Did you create your projects using File->New Project, or File->New Web Site? 
> > Web Sites aren't projects, so they don't compile.
> > 
> > -- 
> > --------------------------------------------------------------------------------
> > John Saunders | MVP – Windows Server System – Connected System Developer
> >  
> > 
> >
date: Mon, 21 Apr 2008 13:38:19 -0700   author:   jms

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us