Configuration error for web.config
source errors:
//----------------------------------
Wiersz 11: <add assembly="Microsoft.Crm.ManagedInterop,
Version=3.0.5300.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
Wiersz 12: <add assembly="Microsoft.Crm.MetadataHelper,
Version=3.0.5300.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
Wiersz 13: <add assembly="Microsoft.Crm.MetadataService,
Version=3.0.5300.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
Wiersz 14: <add assembly="Microsoft.Crm.NativeInteropProxy,
Version=3.0.5300.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
Wiersz 15: <add assembly="Microsoft.Crm.ObjectModel, Version=3.0.5300.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
Plik źródłowy: c:\inetpub\wwwroot\web.config Wiersz: 13
Ślad ładowania zestawu: Poniższe informacje mogą pomóc w stwierdzeniu,
dlaczego nie można było załadować zestawu 'Microsoft.Crm.MetadataService'.
=== Pre-bind state information ===
LOG: DisplayName = Microsoft.Crm.MetadataService, Version=3.0.5300.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35
(Fully-specified)
LOG: Appbase = file:///C:/Inetpub/wwwroot/testskype
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===
LOG: Publisher policy file is not found.
LOG: No redirect found in host configuration file
(C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet.config).
LOG: Using machine configuration file from
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
LOG: Post-policy reference: Microsoft.Crm.MetadataService,
Version=3.0.5300.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/testskype/db75273e/d4af4967/Microsoft.Crm.MetadataService.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/testskype/db75273e/d4af4967/Microsoft.Crm.MetadataService/Microsoft.Crm.MetadataService.DLL.
LOG: Attempting download of new URL
file:///C:/Inetpub/wwwroot/testskype/bin/Microsoft.Crm.MetadataService.DLL.
LOG: Attempting download of new URL
file:///C:/Inetpub/wwwroot/testskype/bin/Microsoft.Crm.MetadataService/Microsoft.Crm.MetadataService.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/testskype/db75273e/d4af4967/Microsoft.Crm.MetadataService.EXE.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/testskype/db75273e/d4af4967/Microsoft.Crm.MetadataService/Microsoft.Crm.MetadataService.EXE.
LOG: Attempting download of new URL
file:///C:/Inetpub/wwwroot/testskype/bin/Microsoft.Crm.MetadataService.EXE.
LOG: Attempting download of new URL
file:///C:/Inetpub/wwwroot/testskype/bin/Microsoft.Crm.MetadataService/Microsoft.Crm.MetadataService
//------------------------------------------------------------
does someone have any idea what to do ?
i modified web.config deleting lines of <add assembly= .... > that do errors
but i shouldnt do this way. how to overcome it? HILFE !!!
thx for your time
anyway i have added
https:// .... metadataservice reference.
still no idea whats wrong
.............
thx again for help
„Bartosz Bielecki” pisze:
--
Matt Parks
MVP - Microsoft CRM
"Bartosz Bielecki" <Bartosz...@discussions.microsoft.com> wrote in
message news:1710E7A7-F6FD-428A...@microsoft.com...
aha it writes in the beggining that
it didnt find file of name Microsoft.Crm.MetadataService or its dependencies
anyway i have added
https:// .... metadataservice reference.
still no idea whats wrong
.............
thx again for help
"Bartosz Bielecki" pisze:
> hi there
> i have unusual mistake and i was suprised to get it.
> I am programming under visual studio 2005 and i got such a error:
>
> Configuration error for web.config
>
> source errors:
> //----------------------------------
>
> Wiersz 11: <add assembly="Microsoft.Crm.ManagedInterop,
> Version=3.0.5300.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
> Wiersz 12: <add assembly="Microsoft.Crm.MetadataHelper,
> Version=3.0.5300.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
> Wiersz 13: <add assembly="Microsoft.Crm.MetadataService,
> Version=3.0.5300.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
> Wiersz 14: <add assembly="Microsoft.Crm.NativeInteropProxy,
> Version=3.0.5300.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
> Wiersz 15: <add assembly="Microsoft.Crm.ObjectModel, Version=3.0.5300.0,
> Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
>
> Plik zródlowy: c:\inetpub\wwwroot\web.config Wiersz: 13
>
> Slad ladowania zestawu: Ponizsze informacje moga pomóc w stwierdzeniu,
> dlaczego nie mozna bylo zaladowac zestawu 'Microsoft.Crm.MetadataService'.
yes that errors show CRM root web.config.
and i dont want you to remove <add assembly ..... >
i just dont want to change web.config from oryginal
about assembleys because i dont know if its recomended.
i could just use "//" and it will work but its not good practise
and i didnt understand what did y mean about srs:
you said:
"If so, then you actually want to us remove assembly directives.
In the root web.config, there is a sample set of these used for the SRS
virtual direcotry. They are below the add assembly directives."
could y be more clear?
i am beginner
bart
"Matt Parks" wrote:
> Assuming this is a web.config that is in a sub-virtual directory under the
> CRM root? If so, then you actually want to us remove assembly directives.
> In the root web.config, there is a sample set of these used for the SRS
> virtual direcotry. They are below the add assembly directives.
>
> --
>
> Matt Parks
> MVP - Microsoft CRM
>
>
> "Bartosz Bielecki" <Bartosz...@discussions.microsoft.com> wrote in
> message news:1710E7A7-F6FD-428A...@microsoft.com...
> aha it writes in the beggining that
> it didnt find file of name Microsoft.Crm.MetadataService or its dependencies
>
> anyway i have added
> https:// .... metadataservice reference.
>
> still no idea whats wrong
> ..............
You need your own web.confg file in your virtual directory. This web.config
needs to "remove" those CRM assemblies. This needs to be done as your code
won't directly access them anyway, so you don't need them. You basically
need the following in your local web.config for your app.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.web>
<compilation defaultLanguage="C#" debug="true">
<assemblies>
<remove assembly="Microsoft.Crm, Version=3.0.5300.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
<remove assembly="Microsoft.Crm.Entities, Version=3.0.5300.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<remove assembly="Microsoft.Crm.ManagedInterop, Version=3.0.5300.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<remove assembly="Microsoft.Crm.MetadataHelper, Version=3.0.5300.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<remove assembly="Microsoft.Crm.MetadataService, Version=3.0.5300.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<remove assembly="Microsoft.Crm.NativeInteropProxy, Version=3.0.5300.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<remove assembly="Microsoft.Crm.ObjectModel, Version=3.0.5300.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<remove assembly="Microsoft.Crm.Platform.ComProxy, Version=3.0.5300.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<remove assembly="Microsoft.Crm.Platform.Proxy, Version=3.0.5300.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<remove assembly="Microsoft.Crm.Platform.Server, Version=3.0.5300.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<remove assembly="Microsoft.Crm.Platform.Sdk, Version=3.0.5300.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<remove assembly="Microsoft.Crm.Platform.Types, Version=3.0.5300.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<remove assembly="Microsoft.Crm.Scheduling, Version=3.0.5300.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<remove assembly="Microsoft.Crm.Tools.ImportExportPublish,
Version=3.0.5300.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</assemblies>
</compilation>
<pages enableSessionState="true" validateRequest="false"
enableViewState="true" />
</system.web>
</configuration>
--
Matt Parks
MVP - Microsoft CRM
"Bartosz Bielecki" <Bartosz...@discussions.microsoft.com> wrote in
message news:314B2FA7-CE90-4D0D...@microsoft.com...
thx for your answer, the way of resolving problem easy and nice :)
i am suprised that i didnt get idea before .
thx a lot
anyway i still wonder why there were problems with assembyies
bart
i removed assembyes but now it screams that it cant find it
exactly it screams for
<remove assembly="Microsoft.Crm.MetadataService, Version=3.0.5300.0, ...
so still have problem ....
„Matt Parks” pisze:
--
Matt Parks
MVP - Microsoft CRM
"Bartosz Bielecki" <Bartosz...@discussions.microsoft.com> wrote in
message news:BA30A52D-F1FD-47C7...@microsoft.com...
see you again later
i will inform if i succeded to do anything
„Matt Parks” pisze: