ConnectionString property has not been initialized - DNN .NET apps broke after installing components from Microsoft's Web Platform Installer

I installed Microsoft's Web Platform Installer and two of my legacy .NET DNN modules don't work.  They get an error The ConnectionString property has not been initialized.   Any ideas?  I tried enabling 32 bit apps on the app pool and no luck.
gopher_49Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

sammySeltzerCommented:
Maybe, you add that component or create the connection string within WOW64 if you are using 64bit platform.

Windows -> SysWOW64.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
gopher_49Author Commented:
It ended up being the below....  The developer changed the .vb files in the App_Code directory.  Not sure to what happened when I ran the installer but DNN is now running in .NET v4 even though it's told to use a .NET 2.0 app pool.  The reason I suspect this is due to the fact that the DNN event logs show a .NET assembly of v4.

Dim connString As String = System.Configuration.ConfigurationManager.ConnectionStrings("yourConnectionString").
0
gopher_49Author Commented:
I have to change the allow 32 bit apps AND modify my connection string in my custom module's vb control files.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET App Servers

From novice to tech pro — start learning today.