Solved

Web.config - VS .NET 2005 C#

Posted on 2006-10-19
2
300 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:
Daniel Reynolds 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
how to check to see if datatable has headers or not 2 34
List<PaisEntity> - show some 1 28
transaction in asp.net, sql server 6 43
tableview is not updating 1 21
We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

830 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