Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need to create a dll for website

Status
Not open for further replies.

dand11

Programmer
Jun 24, 2008
63
US
I have a website which was originally developed in asp.net 1.0. It consumes webservices written in 2.0. I had to make a change to the 1.0 website and I'm using VS 2005. I understand that ASP.NET 2.0 doesn't create dlls. Is there a way to create the website dll in VS 2005?
 
use a web application project, not a website project.

Jason Meckley
Programmer
Specialty Bakers, Inc.
 
I don't see an option for "Web Application" project in VS 2005
 
Oh I meant to say that I'm actually trying to create a dll for a web service.
 
I also tried to set the website and webservice up by copy and pasteing their folders onto to the server and pointing the virtual directories to them but I get the following error:


Event Type: Error
Event Source: WSClient
Event Category: None
Event ID: 0
Date: 11/13/2008
Time: 12:42:23 PM
User: N/A
Computer: MARIANNAPD
Description:
The description for Event ID ( 0 ) in Source ( WSClient ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Reference Num: 124223-5304
Application Name: NA

Message:
Search Error:
Message: System.Web.Services.Protocols.SoapHeaderException: SOAP header Security was not understood.
at System.Web.Services.Protocols.SoapHeaderHandling.SetHeaderMembers(SoapHeaderCollection headers, Object target, SoapHeaderMapping[] mappings, SoapHeaderDirection direction, Boolean client)
at System.Web.Services.Protocols.SoapServerProtocol.CreateServerInstance()
at System.Web.Services.Protocols.WebServiceHandler.Invoke()
at System.Web.Services.Protocols.WebServiceHandler.CoreProcessRequest()
Type: System.Web.Services.Protocols.SoapHeaderException
Stack: at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at CTSDataSearchWS.SEARCHWse.SearchForPeople(String LastName, String FirstName, String MiddleName, String StreetName, String DOBBegin, String DOBEnd, String Sex, String Race, String IDNo, String IDState, String SSN, String OCA, String AddrHouseNu, String AddrQuad, String AddrStreet, String AddrHouseSu, String AddrCity, String AddrState, String AddrZip, String AddrPhone, String VehState, String VehTag, String VehVIN, String VehMake, String VehModel, String VehColor, Boolean UseAKA, Boolean UseSoundex, IntelFlagsSearchType intelFlagsSearchType, IntelFlags[] intelFlags, RequestorSecurityLevel RequestorInfo, Int32 pageNum, String pageID, String pageDir)
at CTSWSClient.Classfiles.SearchHelper.SearchForPeople(String queryID, String siteID, String userID, PersonDescription objPerson, RequestorSecurityLevel secLevel, Boolean CountOnly, Boolean HitsOnly, Int32 pageNum, String pageID, String pageDir)
at CTSWSClient.AJAX.QuerySite(String queryID, String siteID, String userID, String searchType, String securityLevel, String searchParams, Boolean HitsOnly, Boolean CountOnly, Int32 pageNum, String pageID, String pageDir)
InnerException: .
 
create a service in VS05.
compile (release mode for production).
copy assembly to server.
point virtual director to directory with assembly (technically the directory that contains the bin folder... which contains the assmbley).

you do not need to deploy any code files to production. only assmeblies and external files (config, xml, txt) if any.

Jason Meckley
Programmer
Specialty Bakers, Inc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top