CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > visual_studio.vs_2005_web_application_projects Tags:
Item Type: Date Entered: 4/24/2006 12:16:56 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 1 Views: 93 Favorited: 0 Favorite
2 Items, 1 Pages 1 |< << Go >> >|
"Yeahman" <>
NewsGroup User
Problems after converting from Web Site to Web Application4/24/2006 12:16:56 PM

0

I've converted my Web Site to a Web Application Project. While doing this, I've encountered several problems with the RC1. Maybe someone knows a workaround for the last 2 problems:

  • If I am using a RootNamespace in a VB.NET Project, the conversion tool still generates an namespace definition around the designer class. This problem just occurs if I am converting the aspx or ascx files one by one. (I am using now namespace defintions in each file, which works fine)
  • I am using a lot of custom controls in my web application. To convert my project to a web application I had to exclude everything except this controls from the project, and then to compile it. After doing this it was no problem to convert the rest of the project. It wasn't possible to convert the project in one step, I got always a messagebox with "Exception of Type "System.Exception" has been thrown.
  • Server-Side includes are not working. e.g. controls from an include are not generated to the designer file.
  • After setting the URL Behaviour of a web reference to dynamic, I'm only getting the error "Error 11 Custom tool error: Unable to import WebService/Schema. Exception of type 'System.Exception' was thrown. File: reference.map". Using the static behaviour works fine.

tia Martin

"billhie" <>
NewsGroup User
Re: Problems after converting from Web Site to Web Application5/5/2006 6:20:00 PM

0

Hi Martin

We have not been able to reproduce the RootNamespace issue. Do you have a sample which illustrates the problem?

I would need more details to understand why you needed to exclude everything except the custom controls to get the conversion to work. What types of problems did you run into? Any information you could provide would be beneficial to help us address these types of problems.

Unfortunately, the designer does not support server side includes and there aren't any plans to do so in the near future. You may want to consider packaging that functionality into user controls or master pages which are fully supported in the tool.

There is a known issue where you can get into this state if the settings.settings file ever gets deleted.  The fix for this is to open the Settings.settings file (just double-click it). You should see entries similar to the following for your dynamic urls.

Name                                Type                       Scope     Value
     
MyApp_localhost_Service   (Web Service URL)   User        
http://localhost:2305/WebSite8/Service.asmx

Notice the type field - it needs to be set to "(WebService URL)"  - this is one of the choices in type dropdown. Most likely it is set to be of type String and it is this which causes the error. We are looking at getting this fixed for SP1 of Visual Studio (it is an issue in the core VS code base so WAP cannot fix it directly.)


Bill Hiebert

Visual Studio Web Tools
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:













integration of module developed in asp.net 2.0 with asp classic application

asp to aspx

problem using md5 in asp(vbscript) and asp.net(c#)

aspcompact

migration from asp to asp.net

execute function

dynu.http

asp + ms sql 2005

vbscript inside a asp.net page?

use the function in asp for c#.net and asp.net 2.0

wrap a dll into use in vb.net code

application settings

asp to asp.net open a recordset

accessing core asp session variables in asp.net

join authentication for asp asnd asp.net application

converting asp pages to asp.net

how to translate these code(asp) to asp.net?

asp function filter() .net equivalent

transfer data from aspx to asp

is there a way to add adovbs.asp

migrating from vb forms to webforms

converting asp to asp.net 2.0

replace method

handle exception in manged code, when used in classic asp

nested sql calls

reference a c# veriable on my .aspx page

working with dim

usage of session utility and statestitch for session sharing

hideously easy question moving from asp to asp.net

installing asp to asp.net migration assistant

porting one of the wmrm 10.1 samples from asp to asp.net 3.5

namespace in asp.net 2.0

instead of <%=%> what can i use?

problem during convertion from asp to aspx

install asp.net 2.0 on server with asp and asp.net1.1

writing variables to a page

asp to asp.net help urgent

best practice for enabling single sign on for asp classic 3.0 and asp.net 2.0

can anyone convert this to asp.net

sending mail in asp using cdo on 2003 server

code converter

asp.net to win.net migration

working with classes in vb.net

code translation from asp to aspx

asp to dot net headache

making the move for asp to aspx

updating vbscript msxml2 script to c#?

com works in vb.net, not c#??

using an asp function in asp.net

asp to asp.net c#

   
  Privacy | Contact Us
All Times Are GMT