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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

String reference not set to an instance of a String. Parameter name:

Status
Not open for further replies.

ozane

Technical User
Feb 3, 2005
57
TR
hi,
trying to implement a project in asp.net (VB) and having the error below:

String reference not set to an instance of a String. Parameter name:
className
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for
more information about the error and where it originated in the code.
Exception Details: System.ArgumentNullException: String reference not set to an instance of a String. Parameter name:
className
Source Error:
Source File: c:\inetpub\ Line: 26
Stack Trace:
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032
Line 24: Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs
Line 25:
Line 26: Dim conn As Zoom.Net.IConnection = Zoom.Net.IConnectionFactory.Create("ozan"
Line 27: conn.DatabaseName = "MetaServer"
Line 28: conn.Syntax = Zoom.Net.RecordSyntax.XML
[ArgumentNullException: String reference not set to an instance of a String.
Parameter name: className]
System.Type.GetType(String typeName) +0
Zoom.Net.GenericFactory.create(String typeName, Object[] args)
Zoom.Net.IConnectionFactory.Create(String host, Int32 port)
kataLdene.WebForm1.Page_Load(Object sender, EventArgs e) in c:\inetpub\System.Web.UI.Control.OnLoad(EventArgs e)
System.Web.UI.Control.LoadRecursive()
System.Web.UI.Page.ProcessRequestMain()

any idea about it
 
Try stepping through the ProcessRequestMain function in your page and see where the error occurs


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
In fatc, you can see where the error occurs:
Code:
Line 26: Dim conn As Zoom.Net.IConnection = Zoom.Net.IConnectionFactory.Create("ozan"
so as a first guess, maybe you are missing a closing bracket?


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
nope brackets was deleted while pasting the text...
i guess this error is related to dlls i used in project. but what to do??
 
it is solved. it is a web.config problem...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top