Conversion of webservice from vs 2003 to vs 2005

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have just converted my C# project to VS 2005. It is a windows application
with some web services, a distributed application.

The application and web-services work fine, but the design windows in the
IDE for the web service are not what I expected. The designer windows for the
asmx.cs files are clutterd with sql-statements that are internal to the sql
DataAdapters, and the C#-code in the webservice does not break on the
breakpoints.

I wonder if the web-service need to be converted from vs 2003 to vs 2005? Is
there a tool for this? If so, where is it? I have never been prompted by VS
2005 to do any kind of conversion.

Regards

Tore
 
Hi Tore,

To convert the Web Service from 1.1 to 2.0, we can convert it when we
concert the whole solution.
We just need to open the WebService from the VS.NET 2005 IDE.
1. Open VS.NET 2005 IDE
2. Select Menu File/Open/Web Site...
3. Select Local IIS, and type in the URL
4. select the WebSite which hosted our 1.1 WebService
5. click Open, the IDE will help us to do the convert.

After that we will get a file ConversionReport.txt in the same directory of
the WebService project.

Here is the concent of the file ConversionReport.txt based on my test for
y our reference.
<quote>
This report shows the steps taken to convert your Web application from
ASP.NET 1.1 to ASP.NET 2.0.
There may be some unresolved conversion issues you will need to manually
fix.
For more information, please refer to
http://go.microsoft.com/fwlink/?LinkId=46995 or search for the help topic
"Converting from Visual Studio .NET 2002 or 2003".
Conversion Started on project file MyWS.csproj at January 10 2006, 13:30:14.

=========================ERRORS===================

=========================COMMENTS=================
Web.Config: Added 'xhtmlConformance' attribute.
Removed attribute Codebehind from file Global.asax.
Added folder App_Code.
Moved file Global.asax.cs to the App_Code\ directory.
Moved file Service1.asmx.cs to the App_Code\ directory.
Moved file AssemblyInfo.cs to the App_Code\ directory.
Changed HTML validation schema for all projects to 'Internet Explorer 6.0'.
Removed file Bin\MyWS.dll.
Removed file Bin\MyWS.pdb.
Removed file MyWS.csproj.
Removed file MyWS.csproj.webinfo.
Project MyWS.csproj has been converted successfully at January 10 2006,
13:30:15.
</quote>

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Hi Tore,

Thanks for your quickly reply!
If you still have any concern, please feel free to post here.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top