473,226 Members | 1,417 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,226 software developers and data experts.

Deploying Strong-named Configuration Block project causing errors

I was able to compile (Debug) and reference an Configuration Block project
for my primary application "AppPrimary.exe". When I add a strong name file
to the Configuration Block project and recompile the projects my
"AppPrimary.exe" no longer works correctly.

I've noticed that when AppPrimary.exe runs with the Non-Strong-Named version
of the Config Block the following has the proper values (i.e.
Current.builder=
"{Microsoft.Practices.EnterpriseLibrary.Configurat ion.ConfigurationBuilder}" )

public static object GetConfiguration(string sectionName)
{
return Current.builder.ReadConfiguration(sectionName);
}

BUT
when AppPrimary.exe runs with the Strong-Named version of the Config Block
the Current.builder value is empty.

This causes errors to be thrown further down the line of the Config Block
library code.

Any help is greatly appreciated.
Thanks.
Nov 17 '05 #1
1 1329
Hi Robert,

My guess is when your configuration handler gets serialized, it includes
information on the assembly in which the handler is implemented. For
strong-named assemblies, the assembly name must include the public key
token.

--
Sincerely,
Dmytro Lapshyn [Visual Developer - Visual C# MVP]
"Robert N" <Ro*****@discussions.microsoft.com> wrote in message
news:AF**********************************@microsof t.com...
I was able to compile (Debug) and reference an Configuration Block project
for my primary application "AppPrimary.exe". When I add a strong name
file
to the Configuration Block project and recompile the projects my
"AppPrimary.exe" no longer works correctly.

I've noticed that when AppPrimary.exe runs with the Non-Strong-Named
version
of the Config Block the following has the proper values (i.e.
Current.builder=
"{Microsoft.Practices.EnterpriseLibrary.Configurat ion.ConfigurationBuilder}"
)

public static object GetConfiguration(string sectionName)
{
return Current.builder.ReadConfiguration(sectionName);
}

BUT
when AppPrimary.exe runs with the Strong-Named version of the Config Block
the Current.builder value is empty.

This causes errors to be thrown further down the line of the Config Block
library code.

Any help is greatly appreciated.
Thanks.


Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

129
by: Torbjørn Pettersen | last post by:
I've started cleaning up my HTML and implementing CSS. So far I've used FrontPage, but am switching over to DreamWeaver. Reading a bit on W3Schools.com and W3.org I see there are a lot of HTML...
0
by: Sean Campbell | last post by:
Hi, My group have a ASP.NET based application ( currently running on 1.0.3705 ). Ideally, we would like to deploy new components(asp files/assemblies/db updates) into a live environment without...
2
by: Flip | last post by:
I am deploying webapps using XP (IIS5) and deploying them to a Windows 2003 Server box (IIS6). So far so good. However, when I try to manage my w2k3 server from XP, I get an error message saying...
4
by: john | last post by:
I think some of the changes to Asp.net are rediculous. Take the ability to deploy source code to production that is compiled on the fly. If this is such a great model, why not distribute your...
3
by: Mark Ingram | last post by:
Hi, what steps do i need to undertake before / when i deploy a c# application? Generate strong name key? Add the file to the GAC? What else?
8
by: per9000 | last post by:
Dear readers, I have some problems with strong keys. What I want to do is basically this. A - create an application (f.x. strongHello.dll) with a strong key. B - import the functions of this...
1
by: dfererer | last post by:
Dear all, I want to install and run ClickOnce Deploying application under a Windows Service,I have make the service starting the application successfully(user API...
0
by: Amit | last post by:
Hi,I am new to .net 2.0 and have just built one web application and deployed the application on web server. The problem which i am facing is that if i make any changes in the .cs files or aspx...
0
by: jimmarq | last post by:
I need reporting functionality in my app, but for several reasons, I don't want to have to package any DLL files in a setup. I want to deploy my application straight to a shared network drive with...
6
by: raylopez99 | last post by:
Anybody use Strong Name Signing? I think this is used by default for Resource files, which is one reason perhaps I can't get my resource files to work (somehow the public key is messed up, perhaps...
1
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
0
by: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: mar23 | last post by:
Here's the situation. I have a form called frmDiceInventory with subform called subfrmDice. The subform's control source is linked to a query called qryDiceInventory. I've been trying to pick up the...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.