网站首页 | 新闻视点 | 中国高校 | 高考专递 | 高校招生 | 考研考博 |
教学资源 | 论文教案 | 英语专栏 | 百狐网站 | 就业创业 | 出国留学 |
生活频道 | 动漫世界 | 游戏时空 | 电脑学习 | 文秘资源 | 学术讲座 |
彩信铃声 | 站长手册 | 视频音频 | olympics | 大学商城 | 英语学习 |
加入收藏
设为首页
网站导航
您现在的位置: 中国大学网 >> 电脑 >> 微软认证 >> 资讯正文
网 站 搜 索
推 荐 信 息
热 门 信 息
  MCSE模拟题(workstatin)           
MCSE模拟题(workstatin)
∷∷ 中国大学http://www.unjs.com 文章来源:中国大学电脑网络  ∷∷
When you browse an ASP on a web site, you got an error message: ODBC Driver error "80004005" Data source name not found and no default driver specified.
ODBC driver not configured
Database name is not configured correctly
Data source name is not configured correctly
IIS computer cannot resolve the DNS name of the SQL server database
Answer : 3

A user tries to connect to a database via your company website and receives the error (don't know this exactly)Microsoft OLE DB Provider for ODBC Drivers error '80004005'

(the 3 start the same way and end like this):

LOGIN FAILURE
GENERAL NETWORK ERROR
Can not find Name Space and no driver defined.

Each question has the same answers:

the user has insufficient permissions to access the database.
the user has insufficient permissions to access RESOURCES in the database.
recent revisions of the database changed the connection method from named pipes to TCP/IP.
the database was recently moved to another server....
3 questions on SQL ODBC errors:

A user tries to connect to a database via your company website and receives the error "ODBC ..." LOGIN FAILURE ? The user has insufficient permissions to access the database...

A user tries to connect to a database via your company website and receives the error "ODBC ..." General Network Error ? Due to heavy use the database has been recently moved to another server......

A user tries to connect to a database via your company website and receives the error "ODBC ..." SOURCE NAME NOT FOUND OR NO DEFAULT DRIVER FOUND ? Incorrectly configured Data Source Name (DSN) .......

The choices were:

The user has insufficient permissions to access the database.
The user has insufficient permissions to access RESOURCES in the database.
Recent revisions of the database changed the connection method from named pipes to TCP/IP.
Due to heavy use the database was recently moved to another server....
Incorrectly configured Data Source Name (DSN) ....
ODBC stuff from Microsoft themselves

The following resources address 80004005 errors:

http://support.microsoft.com/support/kb/articles/q183/0/60.asp
and
http://support.microsoft.com/support/odbc/faq/faq3663.asp

Error Message ------------- Microsoft OLE DB Provider for ODBC Drivers error '80004005' [Microsoft][ODBC Driver Manager] Data source name not found and no default driv

er specified.

the most common cause is that the connection string is a session variable initialized in the Global.asa and Global.asa is not firing. You may check to see that the variable is being initialized correctly by adding the following code to the .asp page: <%= "'auth_user' is " & request.servervariables("auth_user")%>

<%= "'auth_type' is " & request.servervariables("auth_type")%>

<%= "connection string is " & session("your_connectionstring")%>



- If the Global.asa is not firing, check to make sure it is in an Application Root for IIS 4.0, or a Virtual Root with the "Execute" check box selected if running under IIS 3.0. Also, a bug detailed in the Microsoft Knowledge Base article Q173742, may prevent the Global.asa from being fired when Windows NT permissions have restricted access to the folder.

- The DSN name is not found. Check to make sure a 'User' type DSN is not being used.

- If using a File or System DSN, try changing the connection string to "DSN=MySystemDSN" or "DBQ=MyFileDSN" as appropriate. Simplify!

- Check to make sure that the most current drivers are installed. If in doubt, download the latest MDAC (Microsoft Data Access Components) from the following Web site:

Error Message ------------- Microsoft OLE DB Provider for ODBC Drivers error '80004005' Microsoft][ODBC Microsoft SQL Driver] Logon Failed() Cause -----

-This error is generated by SQL server if it does not accept or recognize the logon account and/or password being submitted (if using Standard security) or if there is no Windows NT account to SQL account mapping (when using Integrated security).

-If you are using standard security, the SQL account name and password are incorrect. Try the system Admin account and password (UID= "SA" and NULL password). These must be defined on the connection string line. DSN's do not store user names and passwords.

-If using Integrated security, check the Windows NT account that is calling the page, and find out what account (if any) it is mapped to.

-SQL does not allow an underscore in a SQL account name. If someone manually mapped the Windows NT IUSR_machinename account to a SQL account of the same name, it fails. Map any account that uses an underscore to an account name on SQL that does not use the underscore.

Error Message ------------- Microsoft OLE DB Provider for ODBC Drivers error '80004005' [Microsoft][ODBC SQL Server Driver][SQL Server] Lo

gin failed- User: Reason: Not defined as a valid user of a trusted SQL Server connection. Cause ----- -

-Integrated Security is turned on in the SQL Enterprise Manager, and the Windows NT account being used has not been mapped to a SQL account. –

-Try changing SQL to use Standard Security (In Enterprise Manager, select Server/ SQL Server/Configure[ASCII 133]/Security Options/Standard. - If running under IIS 4.0, turn off "Password Synchronization" for that project.

Error Message ------------- Microsoft OLE DB Provider for ODBC Drivers error '80004005' [Microsoft][ODBC SQL Server Driver][DBMSSOCN] General network error. Check your network document Cause -----

-This may occur when a SQL server computer is renamed. DSN's that reference the old name fail when the computer name cannot be located

Which parameter listed below are store in metabase: (choose two)
IIS help file location
Virtual directory security settings
Web site home directory location
Microsoft Management Console Snap-In definitions.
Microsoft Site Server Express Content Analyzer Toolbar Positions
Answer:2,3

Key Metabase Entries

The metabase does not include all of the entries of the Windows NT registry, only those pertinent to Internet Information Server administration. For these settings, the metabase offers more advanced features including speed, scriptability, and remote administration. The following list describes the types of property settings stored in the metabase.

Computer and Web site properties. Properties configurable at the computer and Web site level.
Logging properties. Properties configurable for Web site activity logging.
FTP-specific properties. Properties configurable for FTP services only.
HTTP-specific properties. Properties configurable for Hypertext Transport Protocol (HTTP) services only.
Virtual directory and directory properties. Properties configurable at the virtual directory and directory level.
File properties. Properties configurable at the file level.
Filter properties. Properties configurable for filters.
SSL key properties. Properties configurable for Secure Sockets Layer (SSL) keys.

There are 100 web pages on a web site sharing common elements. If you are the administrator of this web site, and the web pages need to be updated three times every day, what is the most least administrative efforts way to maintain this web site?
Create comm

[1] [2] [3] [4] [5] [6] [7] [8] 下一页  




单击上面文本框即可复制文本框内的文字,方便您推荐给您QQ上的好友,记得常回来看看哦!   
  • 上一条资讯:

  • 下一条资讯: 没有了
  • 【声明:本站所发表的全部或部分内容仅代表个人观点,与本站无关,谢谢合作!】
      广而告之
    特别感谢西部数码提供本站空间!版权所有 Copyright© 2006-2010 中国大学
    中华人民共和国网站备案号/经营许可证号:渝ICP备05000110号
    本站部分内容来自互联网,如有侵权,请告知站长为谢!
    不良信息,欢迎举报!国家不良信息举报中心