473,395 Members | 1,468 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,395 software developers and data experts.

VS 2005 web.config

Jim
I am really having quite a time getting VS 2005 up and going... just enough
seems to be different that it makes it hard to hit the ground running. I had
a number of problems getting it work right at all with web apps when I had
installed IIS after installing VS 2005 on my PC. I un-installed VS, and then
re-installed it, which did fix some of the acces issues, but lately I am
having two (so far) real show stoppers. These are very simple I am sure, and
the answers are just for some reason eluding me.

1) I noticed that in 2005 (as opposed to 2003) when creating a web service,
VS does not automatically create a web.config. However, I can't run the
application without one, so why doesn't it just create one? I CAN run it in
the "test" mode within visual studio, but if I publish it to a web share and
try and do "http://localhost/mywebservice/service.asmx" it won't work until I
add that web.config.

2) I want to expose some wellknown types as SOAP objects for webservice
calls. In 2003, I simply add elements to the web.config on the remoting
server like this:

<system.runtime.remoting><application><service><we llknown
type="nnnn.mmmm.className, assembly" objectUri="myObject.soap" />....

In 2005 however, the <application> element doesn't seem to be defined in the
schema that .NET is using, as I get a complie-time error saying "cound not
find schema information for the element 'application' and subsequent errors
for each elemetn within <application> What am I missing here? Is there some
new way to expose web services? What about the client?

3) In 2003, I typically exposed service layer functions through a web
service, by adding an ASP .NET web service project to my solution, after
first creating a web-shared folder under my solution (such as
..../Projects/MySolution/MyRemotingServer". I then created the web service
application htp://localhost/MyRemotingServer/ which caused it to be created
in that folder. This also made source control easier. I noticed that in
2005 when doing this, my application won't run, because apparently the ASP
..NET process by default does not have access to my web shared folders. Now,
perhaps it does if I were to create them under wwwroot? Is this a
consequence of the fact that .NET 2.0 is more secure and locked down than
previous versions? Does this mean that I will now have to, in addition to
all he other options I need to deal with, now explicitly grant the ASPNET
user account read / edecute process on every web share, or is something just
mis-configured here?

It seems like there aught to be a concise listing of tasks that are
substantially different in 2005 to make it easier to port over from 2003.
This has been so frustrating so far. I would greatly appreciate any hepl
anyone can provide Thanks.

Jim
Jan 21 '06 #1
0 978

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

Similar topics

5
by: stand__sure | last post by:
I had occasion tonight to write an installer class that changed something in a config file tonight (I had never had a need to do it, but happened upon a "How To" article that explained it in terms...
1
by: amber | last post by:
Hello, I've just upgraded from .NET 2003 to 2005. I was using an app.config file to set my connections. I see that this must have automatically been changed when .NET converted my solution...
1
by: amber | last post by:
Hello, I've just upgraded from .NET 2003 to 2005 and to SQL Server Express 2005. I've rebuilt my connection string. Before I used app.config, and now have the connection string is in the...
10
by: WT | last post by:
Hello, I have been publishing my web site many times to the remote where resides my final web site. Everything was ok, but to-day, without any configuration change, vs doesn't copy final files...
12
by: Nathan Sokalski | last post by:
I recently upgraded to from Visual Studio .NET 2003 to Visual Studio .NET 2005. In Visual Studio .NET 2003 when I would select 'Build' it would add a *.dll with the name of the Project to a /bin/...
4
by: Mukesh | last post by:
Hi I m using microsoft application blocks Enterprise Library june 2005 with .net framework 1.1 and VStudio2003 And C# as coding language Sql server 2000 database the project is running...
3
by: Mukesh | last post by:
Thx Sloan for the solution. It is working properly under Full trust When i tried it under Medium trust it was giving error Parser Error Message: Required permissions cannot be acquired....
23
by: deathtospam | last post by:
A day or two ago, I wrote a quick ASPX page with a CS codebehind using Visual Studio .NET 2005 -- it worked, I saved it and closed the project. Today, I came back to the project, reopened the...
3
by: Barry Erick | last post by:
I guess the express edition does not have this configuration file. I had been using a ini file with getPrivateProfileString, but have not found an example that works in VB 2005 ee , so I looked for...
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.