网站导航:首页 -> 微软认证 -> MCSE微软认证考试模拟题 -> 微软认证考试:模拟题(workstatin)

微软认证考试:模拟题(workstatin)

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 rec
ently 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 driver 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 l
ogon 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] login 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