473,387 Members | 1,578 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

mapping sample file

I have been trying to run the sample files in C#.net, but it gives me this error

unable to open Web project'aspenet_cs/Chapter_01.' The file path 'C:\MS PressBooks\ASPNETBS_CS\Chapter_01
does not correspond to the URL "http://Localhost:/aspnetsbs_cs/Chapter_01.
The two need to map to the same server location. HTTp Error 404: Object Not Foun

I have xp pro. I've tried to find how to do this, but haven't been successfull yet
Any help would be great, thank

Wylie
Jul 21 '05 #1
1 1290
Your C# project will have a file with extension .webinfo. This file includes the information of the IIS mapping of the particular project.
Map the IIS virtual directory to the project roor folder and make sure its been configured as an application in IIS.

Then edit the .webinfo file to point the correct location and open the .csproj file from VS.NET

HTH
Sudhakar Sadasivuni
Microsoft .NET MVP | MCAD
http://weblogs.asp.net/ssadasivuni

----- wylie wrote: -----

I have been trying to run the sample files in C#.net, but it gives me this error.

unable to open Web project'aspenet_cs/Chapter_01.' The file path 'C:\MS PressBooks\ASPNETBS_CS\Chapter_01'
does not correspond to the URL "http://Localhost:/aspnetsbs_cs/Chapter_01.'
The two need to map to the same server location. HTTp Error 404: Object Not Found

I have xp pro. I've tried to find how to do this, but haven't been successfull yet.
Any help would be great, thanks

Wylie
Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: max | last post by:
I am trying to use a sdk to access quickbooks, the sdk provided a COM interface and I think it installed the com server files/dlls. A VB code example is provided, but I can't figure out how to map...
20
by: Pierre Fortin | last post by:
Hi! "Python Essential Reference" - 2nd Ed, on P. 47 states that a string format can include "*" for a field width (no restrictions noted); yet... >>> "%*d" % (6,2) # works as expected ' ...
4
by: Ashish Kanoongo | last post by:
Does anyone have an example of field mapping? I am trying to write an app that reads a .csv file and then allows a user to map those .csv fields to existing SQL fields... I have the...
6
by: naruto | last post by:
Hi all, I have the following being defined in a A.cxx file. // define in source file. Not exported to the outside world (this cannot be // moved to the header file ) #define CHANNEL_0 0...
1
by: Tamas Hegedus | last post by:
Hi! I am looking for an xml-object mapping tool ('XML Data Binding-design time product') where I can define the mapping rules in 'binding files' and the parser is generated automatically. ...
1
by: CV | last post by:
Hello, Could anyone please throw your suggestions on the following scenario? (It would be really helpful if you could provide a solution using ..NET,XSLT,XSD,Web Service other than 'Biztalk...
0
by: Sebastian Ware | last post by:
O/R Mapping. After six months of hard work, we are proud to make available the Public Beta of Pragmatier Data Tier Builder 2.5. Initial feedback is amazing, download NOW and find out for yourself:...
1
by: wylie | last post by:
I have been trying to run the sample files in C#.net, but it gives me this error unable to open Web project'aspenet_cs/Chapter_01.' The file path 'C:\MS PressBooks\ASPNETBS_CS\Chapter_01 does not...
40
by: Phlip | last post by:
Scott Lurndal wrote: Would it also cause a problem if your file descriptors go "around the horn", and exceed some platform-specific limit, such as 0x80000000? They would "go negative" when...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.