Solved

Web.config - VS .NET 2005 C#

Posted on 2006-10-19
2
279 Views
Last Modified: 2012-08-13
Hi,

I am used to VS.NET 2003 and C#. When writing soap extensions or any web service project for that matter, we used to have a web.config file automatically created with every project.

But in VS.NET 2005, I dont see that file. How do I get it? If I use the conventional Web.config file of VS.NET 2003, is it still gonna work?

Thanks,
0
Comment
Question by:niftyhawk
2 Comments
 
LVL 17

Accepted Solution

by:
xDJR1875 earned 500 total points
ID: 17770441
Right click on the project and select add new file... then select "Web configuration file" It still works the same.
0
 
LVL 1

Author Comment

by:niftyhawk
ID: 17770511
cool. How do we add soap extensions in the web.config file?

I have a soap extension written and have the following code

<system.web>
    <webServices>
      <soapExtensionTypes>
        <add type="TraceExtensionLib.TraceExtension, TesterCode.WebServices"
             priority="1"
             group="0" />
      </soapExtensionTypes>
    </webServices>    
  </system.web>

but it gives an error:
[ConfigurationErrorsException]: The value of the property 'type' cannot be parsed. The error is: Could not load file or assembly 'TesterCode.WebServices' or one of its dependencies. The system cannot find the file specified. (c:\inetpub\wwwroot\testcode\web.config line 60)

How do I resolve this? Did I declare the correct way?

Thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
C# Error - Add Failed 12 78
MVC5 Dataformat String for Phone not working 3 25
COnsume rest client 6 33
ASP.NET 5 Templates 2 65
Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
A short film showing how OnPage and Connectwise integration works.

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now