Print Page | Close Window

Name is not declared

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: ASP.NET Discussion
Forum Description: Discussion and chat on ASP.NET related topics.
URL: https://forums.webwiz.net/forum_posts.asp?TID=8327
Printed Date: 28 March 2026 at 9:10pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Name is not declared
Posted By: Semikolon
Subject: Name is not declared
Date Posted: 25 December 2003 at 11:53am

yo.. this might be a stupid question, but i know nothing avout asp.net..

i downloaded an app to admin ms sql/msde with web forms using assp.net and i get this error

Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30451: Name 'AppInterface' is not declared.

Source Error:

Line 9:  <tr><td align="center" valign="top">
Line 10: 	
Line 11: 	<% AppInterface.DrawWindowHeader ("Connect to Server", "javascript:window.close();", "350") %>
Line 12: 	
Line 13: 		<form runat="server">


Source File: e:\inetpub\wwwroot\sqlman\app\connect.aspx    Line: 11

 

 

What the hell is wrong here and what shall i do to fix it?




Replies:
Posted By: Semikolon
Date Posted: 25 December 2003 at 12:08pm
sorry to bother you with this, but problems solved..


Posted By: Diep-Vriezer
Date Posted: 25 December 2003 at 3:23pm
 Looks like you forgot to register something..

-------------
Gone..


Posted By: Semikolon
Date Posted: 25 December 2003 at 4:10pm

the bin folder should have been in the root folder but that was placed in root/sqlman/..

btw.. whats the default username and password for the sql server?



Posted By: Mart
Date Posted: 25 December 2003 at 4:24pm
The default username is sa, the password is whatever you set it to.


Posted By: Semikolon
Date Posted: 26 December 2003 at 12:10pm
okay.. but how do i set a password for the MSDE?


Posted By: MorningZ
Date Posted: 26 December 2003 at 12:16pm

search google for http://www.google.com/search?hl=en&lr=&ie=UTF-8&oe=UTF-8&q=set+password+for+MSDE - "set password in MSDE" , brought back results http://security.uchicago.edu/windows/mssql/index.shtml - like this

which says:

To change the password from the command line on MSSQL Server or MSDE:

  1. Open a command shell by selecting "Start"-->"Run...", and typing "cmd.exe" in the "Run" dialog box.
  2. Change to the directory in which the MSSQL or MSDE utilities are stored (this is ususally C:\MSDE\binn, C:\MSSQL7\binn, etc., but YMMV).
  3. Issue the following command where <newpassword> is the password you have chosen:
    osql -U sa -P "" -Q "sp_password NULL,<newpassword>,sa"


-------------
Contribute to the working anarchy we fondly call the Internet


Posted By: MorningZ
Date Posted: 26 December 2003 at 12:17pm
i know for a fact its right in the MSDE help file as well (text or html file with the install package)

-------------
Contribute to the working anarchy we fondly call the Internet


Posted By: Mart
Date Posted: 26 December 2003 at 12:27pm
If you go on http://www.asp.net - www.asp.net there is a set by step installation article for MSDE, you should have followed it because you probably havent set a security mode either.


Posted By: michael
Date Posted: 26 December 2003 at 3:54pm
Just install MSDE like that and you don't have a problem:
R:\msde\setup.exe SAPWD=YYYY SECURITYMODE=SQL DISABLENETWORKPROTOCOLS=(1|0) INSTANCENAME=MSSQLSERVER

Disablenetworkprotocols to 0 so you can access via Network
YYYY to a password of your choice
INSTANCENAME=MSSQLSERVER to force the install as a default instance, will be handy if you have something like Office 2003 which may install an MSDE instance of Business Contact Manager


-------------
http://baumannphoto.com" rel="nofollow - Blog | http://mpgtracker.com" rel="nofollow - MPG Tracker


Posted By: Semikolon
Date Posted: 26 December 2003 at 5:11pm
ok.. thanks alot ppl.. it works fine now..



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net