Форум программистов
 

Восстановите пароль или Зарегистрируйтесь на форуме, о проблемах и с заказом рекламы пишите сюда - alarforum@yandex.ru, проверяйте папку спам!

Вернуться   Форум программистов > IT форум > Помощь студентам
Регистрация

Восстановить пароль
Повторная активизация e-mail

Купить рекламу на форуме - 42 тыс руб за месяц

Ответ
 
Опции темы Поиск в этой теме
Старый 29.10.2007, 00:02   #1
pahaig
 
Регистрация: 08.04.2007
Сообщений: 6
По умолчанию Web расширение 1с

Вот какая ошибка:

Server Error in '/WebDemo' Application.
--------------------------------------------------------------------------------

File or assembly name 1cv8, or one of its dependencies, was not found.
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.IO.FileNotFoundException: File or assembly name 1cv8, or one of its dependencies, was not found.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Assembly Load Trace: The following information can be helpful to determine why the assembly '1cv8' could not be loaded.


=== Pre-bind state information ===
LOG: DisplayName = 1cv8
(Partial)
LOG: Appbase = file:///C:/1cV8Web/Templates/WebDemo/1_1_2
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===

LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: 1cv8
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/webdemo/f07f358a/b88497a6/1cv8.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/webdemo/f07f358a/b88497a6/1cv8/1cv8.DLL.
LOG: Attempting download of new URL file:///C:/1cV8Web/Templates/WebDemo/1_1_2/bin/1cv8.DLL.
LOG: Attempting download of new URL file:///C:/1cV8Web/Templates/WebDemo/1_1_2/bin/1cv8/1cv8.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/webdemo/f07f358a/b88497a6/1cv8.EXE.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/webdemo/f07f358a/b88497a6/1cv8/1cv8.EXE.
LOG: Attempting download of new URL file:///C:/1cV8Web/Templates/WebDemo/1_1_2/bin/1cv8.EXE.
LOG: Attempting download of new URL file:///C:/1cV8Web/Templates/WebDemo/1_1_2/bin/1cv8/1cv8.EXE.



Stack Trace:


[FileNotFoundException: File or assembly name 1cv8, or one of its dependencies, was not found.]
System.Reflection.Assembly.nLoad(As semblyName fileName, String codeBase, Boolean isStringized, Evidence assemblySecurity, Boolean throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark) +0
System.Reflection.Assembly.Internal Load(AssemblyName assemblyRef, Boolean stringized, Evidence assemblySecurity, StackCrawlMark& stackMark) +307
System.Reflection.Assembly.Internal Load(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark) +68
System.Reflection.Assembly.Load(Str ing assemblyString) +19
_1C.V8.Data.V8Metadata.LoadMDInfo(S tring IBAlias, String path) +205
_1C.V8.Data.V8Metadata.GetMetadata( String IBAlias, String path) +53
_1C.V8.Data.V8Metadata.GetMetadata( String IBAlias) +34
_1C.V8.Forms.DefaultListForm.Page_I nit(Object sender, EventArgs e) +229
System.Web.UI.Control.OnInit(EventA rgs e) +67
_1C.V8.Forms.DefaultListForm.OnInit (EventArgs e) +22
System.Web.UI.Control.InitRecursive (Control namingContainer) +241
System.Web.UI.Page.ProcessRequestMa in() +174




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
pahaig вне форума Ответить с цитированием
Старый 29.10.2007, 00:03   #2
pahaig
 
Регистрация: 08.04.2007
Сообщений: 6
По умолчанию

ФАЙЛ WEB.config



<?xml version="1.0" encoding="utf-8"?>
<configuration>

<system.web>

<!-- DYNAMIC DEBUG COMPILATION
Set compilation debug="true" to enable ASPX debugging. Otherwise, setting this value to
false will improve runtime performance of this application.
Set compilation debug="true" to insert debugging symbols (.pdb information)
into the compiled page. Because this creates a larger file that executes
more slowly, you should set this value to true only when debugging and to
false at all other times. For more information, refer to the documentation about
debugging ASP.NET files.
-->
<compilation defaultLanguage="c#" debug="true">
<assemblies>
<add assembly="_1C.V8.Data, Version=8.0.7.9, Culture=neutral, PublicKeyToken=a2a389ea4bbb4a49"/>
<add assembly="_1C.V8.Report, Version=8.0.7.9, Culture=neutral, PublicKeyToken=a2a389ea4bbb4a49"/>
<add assembly="_1C.V8.Chart, Version=8.0.7.9, Culture=neutral, PublicKeyToken=a2a389ea4bbb4a49"/>
</assemblies>
</compilation>

<!-- CUSTOM ERROR MESSAGES
Set customErrors mode="On" or "RemoteOnly" to enable custom error messages, "Off" to disable.
Add <error> tags for each of the errors you want to handle.

"On" Always display custom (friendly) messages.
"Off" Always display detailed ASP.NET error information.
"RemoteOnly" Display custom (friendly) messages only to users not running
on the local Web server. This setting is recommended for security purposes, so
that you do not display application detail information to remote clients.
-->
<customErrors mode="RemoteOnly"/>

<!-- AUTHENTICATION
This section sets the authentication policies of the application. Possible modes are "Windows",
"Forms", "Passport" and "None"

"None" No authentication is performed.
"Windows" IIS performs authentication (Basic, Digest, or Integrated Windows) according to
its settings for the application. Anonymous access must be disabled in IIS.
"Forms" You provide a custom form (Web page) for users to enter their credentials, and then
you authenticate them in your application. A user credential token is stored in a cookie.
"Passport" Authentication is performed via a centralized authentication service provided
by Microsoft that offers a single logon and core profile services for member sites.
-->
<authentication mode="Windows"/>

<!-- AUTHORIZATION
This section sets the authorization policies of the application. You can allow or deny access
to application resources by user or role. Wildcards: "*" mean everyone, "?" means anonymous
(unauthenticated) users.
-->

<authorization>
<allow users="*"/> <!-- Allow all users -->
<!-- <allow users="[comma separated list of users]"
roles="[comma separated list of roles]"/>
<deny users="[comma separated list of users]"
roles="[comma separated list of roles]"/>
-->
</authorization>

<!-- APPLICATION-LEVEL TRACE LOGGING
Application-level tracing enables trace log output for every page within an application.
Set trace enabled="true" to enable application trace logging. If pageOutput="true", the
trace information will be displayed at the bottom of each page. Otherwise, you can view the
application trace log by browsing the "trace.axd" page from your web application
root.
-->
<trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true"/>

<!-- SESSION STATE SETTINGS
By default ASP.NET uses cookies to identify which requests belong to a particular session.
If cookies are not available, a session can be tracked by adding a session identifier to the URL.
To disable cookies, set sessionState cookieless="true".
-->
<sessionState mode="InProc" stateConnectionString="tcpip=127.0. 0.1:42424" sqlConnectionString="data source=127.0.0.1;Trusted_Connection =yes" cookieless="false" timeout="20"/>

<!-- GLOBALIZATION
This section sets the globalization settings of the application.
-->
<globalization requestEncoding="utf-8" responseEncoding="utf-8"/>
</system.web>
<appSettings>
<add key="Database" value="File=&quot;C:\Documents and Settings\Администратор\Мои документы\1c\demoweb;;"/>
<add key="UserName" value=""/>
<add key="UserPassword" value=""/>
<add key="PoolCapacity" value="2"/>
</appSettings>
</configuration>
pahaig вне форума Ответить с цитированием
Старый 29.10.2007, 12:54   #3
medik
Пользователь
 
Регистрация: 29.10.2007
Сообщений: 12
По умолчанию

C:\Documents and Settings\Администратор\Мои документы\1c\demoweb

ну так открой доступ к этой папке, либо базу в другом месте надо было делать
medik вне форума Ответить с цитированием
Старый 30.10.2007, 15:40   #4
pahaig
 
Регистрация: 08.04.2007
Сообщений: 6
По умолчанию

Server Error in '/WebDemo1' Application.
--------------------------------------------------------------------------------

Object reference not set to an instance of an object.
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.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
_1C.V8.Forms.DefaultListForm.Page_I nit(Object sender, EventArgs e) +1246
System.Web.UI.Control.OnInit(EventA rgs e) +67
_1C.V8.Forms.DefaultListForm.OnInit (EventArgs e) +22
System.Web.UI.Control.InitRecursive (Control namingContainer) +241
System.Web.UI.Page.ProcessRequestMa in() +174




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
pahaig вне форума Ответить с цитированием
Ответ


Купить рекламу на форуме - 42 тыс руб за месяц

Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск


Похожие темы
Тема Автор Раздел Ответов Последнее сообщение
Расширение экрана LAFUDR Помощь студентам 1 24.05.2008 15:12
Расширение интерфейса сервера приложений malevich Общие вопросы Delphi 2 22.03.2008 02:05
Как зарегить новое расширение в Windows XP dagarik Windows 1 22.10.2007 20:27
Расширение Slash Общие вопросы Delphi 5 15.08.2007 12:08