0 / 0 / 0
Регистрация: 26.08.2009
Сообщений: 8
|
|
1 | |
Ошибка на сайте: Server object error 'ASP 0177 : 800401f3' Server.CreateObject Failed /sutulio/_ScriptLibrary/pm.asp, line 16026.08.2009, 13:33. Показов 2036. Ответов 4
Метки нет (Все метки)
Hi vot uje 2 mesyaca ne mogu reshit problemu na svoem sayte.
Server object error 'ASP 0177 : 800401f3' Server.CreateObject Failed /sutulio/_ScriptLibrary/pm.asp, line 160 Invalid ProgID. For additional information specific to this message please visit the Microsoft Online Support site located at: http://www.microsoft.com/contentredirect.asp. stranica contentredirect.asp.bolee ne sushestvuet. spasibo ogromnoe zaranee za pomosh
0
|
26.08.2009, 13:33 | |
Ответы с готовыми решениями:
4
Server object error 'ASP 0177 : 800401f3' Server.CreateObject Failed /DJMusinas/lt/index.asp, line 49 Объект Server ошибка 'ASP 0177 : 800401f3' Сбой Server.CreateObject /Cmatirial.asp, line 8 Недопустимый код ProgID. Server object error 'ASP 0177 : 800401f3' - кто сталкивался? ASP + IIS 5.0 + COM Ошибка Server object error 'ASP 0177 : 80004005' |
51 / 17 / 6
Регистрация: 18.05.2007
Сообщений: 1,322
|
|
26.08.2009, 14:31 | 2 |
Объект не существует или не зарегистрирован. Что за объект? Код покажи.
0
|
0 / 0 / 0
Регистрация: 26.08.2009
Сообщений: 8
|
|
26.08.2009, 15:13 [ТС] | 3 |
<SCRIPT RUNAT=SERVER Language='JavaScript'>
//***************************************************************** // Microsoft Script Library // Visual InterDev 6.0 Scripting Object Model framework for server. // // Copyright 1998 Microsoft Corporation. All Rights Reserved. //***************************************************************** //***************************************************************** // function StartPageProcessing() // This is the method which starts page processing. // The following sequence of events will occur : // 1. create thisPage object ( programming model object ) // 2. invoke all constructors on the page ( xxx_ctor functions ) // 3. fire 'oninit' events // 4. fire 'onenter' events // 5. dispatch to appropriate server method // 6. return TRUE if processing is complete // return FALSE to continue processing of page //***************************************************************** function StartPageProcessing() { if (typeof(thisPage) != 'object') thisPage = new _SOMObject; if (typeof(RuntimeObject) != 'undefined') { var ctors = RuntimeObject('*_ctor'); for (var name in ctors) { // invoke all constructor functions ( xxx_ctor functions ) if (typeof(ctors[name]) == 'function') ctors[name](); } } else { // display warning var strWarning = ' <hr><b>WARNING: Web server '' + Request.ServerVariables('SERVER_NAME') + '' requires an updated JSCRIPT.DLL.' strWarning += ' The Visual InterDev 6.0 Scripting Object Model requires JSCRIPT.DLL Version 4.0.0.2405 or greater.' Response.write(strWarning); } thisPage._objEventManager.fireEvent(PAGE_ONINIT); thisPage._objEventManager.fireEvent(PAGE_ONENTER); thisPage.dispatch(); if (!thisPage._bEndPageProcessing) thisPage._objEventManager.fireEvent(PAGE_ONSHOW); if (thisPage._bEndPageProcessing) EndPageProcessing(); return thisPage._bEndPageProcessing; } //***************************************************************** // function EndPageProcessing() // This is the method which ends page processing. // The following sequence of events will occur : // 1. if execute method was invoked, do nothing // 2. fire 'onexit' events // 3. invoke all destructors on the page ( xxx_dtor methods ) // 4. if redirect defined, invoke redirect, otherwise // 1. persist state in hidden field // //***************************************************************** function EndPageProcessing() { if (typeof(thisPage) == 'object' && !thisPage._bExecuteMethodInvoked) { if (thisPage._objEventManager != null) thisPage._objEventManager.fireEvent(PAGE_ONEXIT); var dtors = RuntimeObject('*_dtor'); for (var name in dtors) { // invoke all destructor functions ( xxx_dtor functions ) if (typeof(dtors[name]) == 'function') dtors[name](); } if (thisPage._redirect != '') Response.redirect(thisPage._redirect); thisPage._generateHiddenFields(); } } //***************************************************************** // function _SOMObject() // Constructor function for the 'thisPage' object. // This object provides the programming model services for the // page and is instantiated as the 'thisPage' object. // //***************************************************************** function _SOMObject() { //events PAGE_ONINIT = 'oninit' PAGE_ONENTER = 'onenter' PAGE_ONSHOW = 'onshow' PAGE_ONEXIT = 'onexit' //constants PAGE_NAVIGATE = 'na ** function _SOM_registerMethod(strName,fPtr,mType) { // default mType = PAGE_NAVIGATE if not provided if (typeof(strName) == 'string' && typeof(fPtr) == 'function') { if (mType == PAGE_EXECUTE) { if (this._vtableExecute == null) this._vtableExecute = new Object; this._vtableExecute[strName] = fPtr; return true; } if (mType == PAGE_NAVIGATE || mType == null) { if (this._vtableNavigate == null) this._vtableNavigate = new Object; this._vtableNavigate[strName] = fPtr; return true; } } return false; } //***************************************************************** // function _SOM_registerVTable(objVTable,mType) // Register the given object of function ptrs as exported methods. // The mType should indicate either PAGE_NAVIGATE or PAGE_EXECUTE //***************************************************************** function _SOM_registerVTable(objVTable,mType) { // default mType = PAGE_NAVIGATE if not provided if (typeof(objVTable) == 'object') { if (mType == PAGE_EXECUTE) { if (this._vtableExecute == null) this._vtableExecute = new Object; for (var name in objVTable) { if (typeof(objVTable[name]) == 'function') this._vtableExecute[name] = objVTable[name]; } return true; } if (mType == PAGE_NAVIGATE || mType == null) { if (this._vtableNavigate == null) this._vtableNavigate = new Object; for (var name in objVTable) { if (typeof(objVTable[name]) == 'function') this._vtableNavigate[name] = objVTable[name]; } return true; } } return false; } //***************************************************************** // function _SOM_setState(strName,value) // Stores the given value as state using the given name as a key. //***************************************************************** function _SOM_setState(strName,value) { if (this._objState == null) this._objState = new Object; this._objState[strName] = value; } //***************************************************************** // function _SOM_getState(strName) // Retrieves the given value for the state of given name. //***************************************************************** function _SOM_getState(strName) { if (this._objState == null) return null; if (this._objState[strName] == null) return null; return this._objState[strName]; } //***************************************************************** // function _SOM_persistState(strName,objState) // Persists the given object as state using the given name as key. // Current implementation will persist state in a hidden field at // the end of the file via the _generateHiddenFields method. //***************************************************************** function _SOM_persistState(strName,objState) { if (typeof(strName) == 'string' && typeof(objState) == 'object' && strName != '' && objState != null) { if (this._objStateObjects == null) this._objStateObjects = new Object; this._objStateObjects[strName] = objState; return true; } return false; } //***************************************************************** // function _SOM_unpersistState(strName) // Retrieves a state object using the given name as a key. // Current implementation retrieves state from a hidden field. //***************************************************************** function _SOM_unpersistState(strName) { if (typeof(strName) == 'string' && strName != '') { var strState = Request.Form('_' + strName + '_state') s._isDHTMLBrowser) == 'undefined') { this._isDHTMLBrowser = false; var userAgent = String(Request.ServerVariables('HTTP_USER_AGENT')); if (userAgent.indexOf('MSIE 4.') != -1 || userAgent.indexOf('MSIE 5.') != -1) this._isDHTMLBrowser = true; } return this._isDHTMLBrowser; } //***************************************************************** // function _SOM__dispatchGET() // Dispatches methods invoked via an HTTP GET request. //***************************************************************** function _SOM__dispatchGET() { var methodname = Request.QueryString('_method').Item; var methodtype = Request.QueryString('_mtype').Item; if (methodtype == PAGE_EXECUTE) { // return if methodname is not provided if (methodname == '' || methodname == null) return false; if (this._vtableExecute != null && typeof(RSDispatch) == 'function') { this._bExecuteMethodInvoked = RSDispatch(this._vtableExecute,methodname); this._bEndPageProcessing = this._bExecuteMethodInvoked; return this._bExecuteMethodInvoked; } return false; } // default to show if methodname is not provided if (methodname == '' || methodname == null) methodname = 'show' // default to navigate if methodtype is not provided if (methodtype != '' && methodtype != null && methodtype != PAGE_NAVIGATE) return false; if (this._vtableNavigate != null && typeof(this._vtableNavigate[methodname]) == 'function') { // validate that function is part of this._vtableNavigate description // extract parameters and dispatch to this._vtableNavigate.methodname var params = '' var pcount = Request.QueryString('pcount').Item; if (pcount == '' || pcount == null) pcount = 0; // extract parameter values for (var i=0; i < pcount; i++) { var param = Request.QueryString('p'+i).Item; if (param == null) params += 'null' else params += 'Request.QueryString('p' + i + '').Item' if (i < pcount-1) params += ',' } var dispatch = 'this._vtableNavigate.' + methodname + '(' + params + ')' // validated against this._vtableNavigate, safe to eval on the server eval(dispatch); return true; } if (methodname == 'show') return true; return false; } //***************************************************************** // function _SOM__dispatchPOST() // Dispatches methods invoked via an HTTP POST request. //***************************************************************** function _SOM__dispatchPOST() { var queryString = Request.Form('_method').Item; if (queryString == '' || queryString == null) return false; if (queryString.indexOf(this._location) != 0) { // redirect to another page this._redirect = queryString; this._bEndPageProcessing = true; return true; } queryString += '&' var methodname = this._extractValue(queryString,'?_method'); if (methodname == null) methodname = 'show' if (this._vtableNavigate != null && typeof(this._vtableNavigate[methodname]) == 'function') { // validate that function is part of this._vtableNavigate description // extract parameters and dispatch to thisPage.Navigate.methodname var params = '' var pcount = this._extractValue(queryString,'pcount'); if (pcount == null) pcount = 0; // extract parameter values for (var i=0; i < pcount; i++) { var param = this._extractValue(queryString,'p'+i); if (param == null) params += 'null' else params += 'unescape(this._extractValue(queryString,'p' + i + ''))'<BR (strDataField) { if ((this._objDataSource != null) && (this._strDataField != '')) { this._objDataSource.unadvise(this._rowEnterID); this._objDataSource.unadvise(this._beforeUpdateID); } this._strDataField = strDataField; if ((this._objDataSource != null) && (this._strDataField != '')) { this._rowEnterID = this._objDataSource.advise(RS_ONROWENTER, this.id + '._onrowenter(' + this._objDataSource.id + ', '' + this._strDataField + '');'); this._beforeUpdateID = this._objDataSource.advise(RS_ONBEFOREUPDATE, this.id + '._onbeforeupdate(' + this._objDataSource.id + ', '' + this._strDataField + '');'); } return true; } // ************************************************************************ // Microsoft Scripting Libary // Visual InterDev 6.0 EventManager Object for ASP // // Copyright 1998 Microsoft Corporation. All Rights Reserved. // ************************************************************************ function CreateEventManager() { return new _EventManager(); } function _EventManager() { if (typeof(_bEMPrototypeCalled) == 'undefined') _EM_Prototype(); this._events = new Array; this._nLastAdviseID = 0; } function _EM_Prototype() { // public _EventManager.prototype.advise = _EM_advise; _EventManager.prototype.adviseDefaultHandler = _EM_adviseDefaultHandler; _EventManager.prototype.unadvise = _EM_unadvise; _EventManager.prototype.fireEvent = _EM_fireEvent; _EventManager.prototype.getEventCount = _EM_getEventCount; _EventManager.prototype.getEvent = _EM_getEvent; _EventManager.prototype.generateClientHandler = _EM_generateClientHandler; _EventManager.prototype.generateClientHandlers = _EM_generateClientHandlers; _bEMPrototypeCalled = 1; //scope implementation to _EM_Prototype function function _EM_Advisor() { this.funcToCall = 0; this.nAdviseID = 0; this.nPriority = 0; } function _EM_advise(strEvent,funcToCall,nPriority) { if ((typeof(strEvent) == 'string') && (strEvent != '') && (typeof(funcToCall) != 'undefined')) { if (typeof(this._events[strEvent]) == 'undefined') this._events[strEvent] = new Array; var adviseList = this._events[strEvent]; var objAdvisor = new _EM_Advisor; var nLen = adviseList.length; objAdvisor.funcToCall = funcToCall; objAdvisor.nAdviseID = ++this._nLastAdviseID; // maintain list sorted in descending priority if (typeof(nPriority) == 'number') objAdvisor.nPriority = nPriority; if (nLen == 0 || objAdvisor.nPriority <= adviseList[nLen-1].nPriority) { // same or lower priority as last item, append to end adviseList[nLen] = objAdvisor; } else { // higher priority than last item, insert in priority order for (var i=0; i < nLen; i++) { if (objAdvisor.nPriority > adviseList[i].nPriority) break; } // insert item at priority ordered index var aTemp = adviseList.slice(i); adviseList.length = i; adviseList[i] = objAdvisor; this._events[strEvent] = adviseList.concat(aTemp); } return this._nLastAdviseID; } return -1; } function _EM_adviseDefaultHandler(strName,strEvent) { var strDefaultHandler = strName + '_' + strEvent; if (eval('typeof(' + strDefaultHandler + ')') == 'function' || eval('typeof(' + strDefaultHandler + ')') == 'unknown') return this.advise(strEvent,strDefaultHandler + '()'); return -1; } function _EM_unadvise(strEvent,nAdviseID) { if ((typeof(strEvent) != 'undefined') && (nAdviseID != 'undefined') && (typeof(this._events[strEvent]) != 'undefined
0
|
0 / 0 / 1
Регистрация: 10.04.2009
Сообщений: 246
|
|
26.08.2009, 15:30 | 4 |
Это серьёзно )
0
|
0 / 0 / 0
Регистрация: 26.08.2009
Сообщений: 8
|
|
26.08.2009, 15:38 [ТС] | 5 |
eta ogromnaya stranica obrazovalas sama po sebe- ya v ney nichego ne trogala. kogda ya vizivayu stranicu sales.asp to poyavlaetsya soobshenie ob errore
[b]Server object error 'ASP 0177 : 800401f3' Server.CreateObject Failed /sutulio/_ScriptLibrary/pm.asp, line 160 , poetomu privoju kod etogo samogo 'pm.asp' kod je samoy stranici sales.asp nije: <%@ Language=VBScript %> <% dim AdRot set AdRot =server.CreateObject('MSWC.AdRotator') AdRot.Border=1 AdRot.Clickable=true AdRot.TargetFrame='_self' mystr= AdRot.GetAdvertisement('adfile.txt') Response.Write '<center>' & mystr & '</center>' & vbcrlf Response.Write ' ' %> <%session('menu_id')=4%> <!--#include file = 'menu.asp'--> <SCRIPT id=DebugDirectives runat=server language=javascript> // Set these to true to enable debugging or tracing @set @debug=false @set @trace=false </SCRIPT> <% ' VI 6.0 Scripting Object Model Enabled %> <!--#include file='_ScriptLibrary/pm.asp'--> <% if StartPageProcessing() Then Response.End() %> <FORM name=thisForm METHOD=post> <HTML> <HEAD> <LINK rel='stylesheet' type='text/css' href='Style Sheet1.css'> <META NAME='GENERATOR' Content='Microsoft Visual Studio 6.0'> <TITLE>Sales</TITLE> </HEAD> <BODY> <center> <!--METADATA TYPE='DesignerControl' startspan <OBJECT classid='clsid:9CF5D7C2-EC10-11D0-9862-0000F8027CA0' id=Recordset1 style='LEFT: 0px; TOP: 0px'> <PARAM NAME='ExtentX' VALUE='12197'> <PARAM NAME='ExtentY' VALUE='2090'> <PARAM NAME='State' VALUE='(TCConn=qConn_OLEDBq,TCDBObject=qDEsCommandsq,TCDBObjectName=qBooksOnSale q,TCControlID_Unmatched=qRecordset1q,TCPPConn=qConn_OLEDBq,RCDBObject=qRCDBObjec tq,TCPPDBObject=qDEsCommandsq,TCPPDBObjectName=qBooksOnSaleq,TCCursorType=q3s-sStaticq,TCCursorLocation=q3s-sUsesclient-sidescursorsq,TCLockType=q3s-sOptimisticq,TCCacheSize_Unmatched=q100q,TCCommTimeout_Unmatched=q30q,CCPrepared =0,CCAllRecords=1,TCNRecords_Unmatched=q10q,TCODBCSyntax_Unmatched=qq,TCHTargetP latform=qq,TCHTargetBrowser_Unmatched=qServers(ASP)q,TCTargetPlatform=qInheritsf romspageq,RCCache=qRCBookPageq,CCOpen=1,GCParameters=(Rows=0))'></OBJECT> --> <!--#INCLUDE FILE='_ScriptLibrary/Recordset.ASP'--> <SCRIPT LANGUAGE='JavaScript' RUNAT='server'> function _initRecordset1() { thisPage.createDE(); var rsTmp = DE.Recordsets('BooksOnSale'); Recordset1.setRecordSource(rsTmp); Recordset1.open(); if (thisPage.getState('pb_Recordset1') != null) Recordset1.setBookmark(thisPage.getState('pb_Recordset1')); } function _Recordset1_ctor() { CreateRecordset('Recordset1', _initRecordset1, null); } function _Recordset1_dtor() { Recordset1._preserveState(); thisPage.setState('pb_Recordset1', Recordset1.getBookmark()); } </SCRIPT> <!--METADATA TYPE='DesignerControl' endspan--> <!--METADATA TYPE='DesignerControl' startspan <OBJECT classid='clsid:277FC3F2-E90F-11D0-B767-0000F81E081D' height=147 id=Grid1 style='HEIGHT: 147px; LEFT: 0px; TOP: 0px; WIDTH: 593px' width=593> <PARAM NAME='_ExtentX' VALUE='15690'> <PAR RAM NAME='PageSize' VALUE='10'> <PARAM NAME='MoveFirstCaption' VALUE=' |< '> <PARAM NAME='MoveLastCaption' VALUE=' >| '> <PARAM NAME='MovePrevCaption' VALUE=' << '> <PARAM NAME='MoveNextCaption' VALUE=' >> '> <PARAM NAME='BorderSize' VALUE='1'> <PARAM NAME='BorderColor' VALUE='12632256'> <PARAM NAME='GridBackColor' VALUE='8421504'> <PARAM NAME='AltRowBckgnd' VALUE='13458524'> <PARAM NAME='CellSpacing' VALUE='1'> <PARAM NAME='WidthSelectionMode' VALUE='1'> <PARAM NAME='GridWidth' VALUE='593'> <PARAM NAME='EnablePaging' VALUE='0'> <PARAM NAME='ShowStatus' VALUE='-1'> <PARAM NAME='StyleValue' VALUE='453609'> <PARAM NAME='LocalPath' VALUE=''></OBJECT> --> <!--#INCLUDE FILE='_ScriptLibrary/Button.ASP'--> <!--#INCLUDE FILE='_ScriptLibrary/RSNavBar.ASP'--> <!--#INCLUDE FILE='_ScriptLibrary/DataGrid.ASP'--> <SCRIPT LANGUAGE=JavaScript RUNAT=Server> function _initGrid1() { Grid1.pageSize = 0; Grid1.setDataSource(Recordset1); Grid1.tableAttributes = ' cellpadding=2 cellspacing=1 bordercolor=Silver bgcolor=Gray border=1 cols=4 rules=ROWS WIDTH=593' Grid1.headerAttributes = ' bgcolor=Purple align=Center' Grid1.headerWidth[0] = ' WIDTH=147' Grid1.headerWidth[1] = ' WIDTH=233' Grid1.headerWidth[2] = ' WIDTH=103' Grid1.headerWidth[3] = ' WIDTH=125' Grid1.headerFormat = '<Font face='Comic Sans MS' size=1 color=Yellow> <b>' Grid1.colHeader[0] = ' 'Author '' Grid1.colHeader[1] = ' 'Title '' Grid1.colHeader[2] = ' 'List price '' Grid1.colHeader[3] = ' 'Our price '' Grid1.rowAttributes[0] = ' bgcolor = IndianRed align=Center bordercolor=Silver' Grid1.rowAttributes[1] = ' bgcolor = IndianRed align=Center bordercolor=Silver' Grid1.rowFormat[0] = ' <Font face='Comic Sans MS' size=1 color=Yellow >' Grid1.colAttributes[0] = ' WIDTH=147' Grid1.colFormat[0] = '<Font Size=1 Face='Comic Sans MS' Color=Yellow >' Grid1.colData[0] = 'Recordset1.fields.getValue( 'author ')' Grid1.colAttributes[1] = ' WIDTH=233' Grid1.colFormat[1] = '<Font Size=1 Face='Comic Sans MS' Color=Yellow >' Grid1.colData[1] = ''<A HREF =bookdetail.asp?book_id=' + Recordset1.fields.getValue( 'book_id ') + '>' + Recordset1.fields.getValue( 'title ') + ''' Grid1.colAttributes[2] = ' WIDTH=103' Grid1.colFormat[2] = '<Font Size=1 Face='Comic Sans MS' Color=Yellow >' Grid1.colData[2] = 'Recordset1.fields.getValue( 'list_price ')' Grid1.colAttributes[3] = ' WIDTH=125' Grid1.colFormat[3] = '<Font Size=1 Face='Comic Sans MS' Color=Yellow >' Grid1.colData[3] = 'Recordset1.fields.getValue( 'price ')' } function _Grid1_ctor() { CreateDataGrid('Grid1',_initGrid1); } </SCRIPT> <% Grid1.display %> <!--METADATA TYPE='DesignerControl' endspan--> </P> </BODY> <% ' VI 6.0 Scripting Object Model Enabled %> <% EndPageProcessing() %> </FORM> </HTML>
0
|
26.08.2009, 15:38 | |
26.08.2009, 15:38 | |
Помогаю со студенческими работами здесь
5
Объект Server, ASP 0177 (0x800401F3) Сбой Server.CreateObject Недопустимый код ProgID. Ошибка Server object, ASP 0177 (0x800401F3) error 0177 Server.CreateObject Failed Что делать? Ошибка 'Server object, ASP 0177 Invalid ProgID' Ошибка Error Type: Server object, ASP 0177 (0x800401F3) Invalid class string Проблема в коде. Ошибка 'ASP 0177 : 800401f3' Искать еще темы с ответами Или воспользуйтесь поиском по форуму: |