Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:706118
More Search Options
RSS Available
Matching Posts
Unit test causes exception "The type initializer for 'XXX' threw an exception" when running code which accesses appSettings of the webconfig
I have a method which I want to unit test, the code inside that method accesses the appSetting to get the connectionString : System.Configuration.ConfigurationSettings.AppSettings["ConnectionString"].ToString(); this piece of code works fine , but when I m doing the unit test to test the method, the above line gives the below exception : MyMethod threw exception: System.TypeInitializationException: The type initializer for 'XXX' threw an exception. ---> System.NullReferenceException
Posted to
Configuration and Deployment
(Forum)
by
lordofthexings
on 4/2/2009
Re: Get "EXECUTE permission denied on object 'sp_sdidebug', database 'master', owner 'dbo'." error when debugger attached
Also make sure to click on select and uncheck "T-SQL" when attaching the worker processs to the debugger
Posted to
Visual Studio 2005
(Forum)
by
lordofthexings
on 6/26/2008
EL 3.1 how to run it on a non "fulltrust" shared host
We have a web site project, running on a full trust host, the same pages give : "Exception Details: System.Security.SecurityException: That assembly does not allow partially trusted callers." on a non fulltrust server, Whereever I removed the code using EL the error disappears What should we do to be able to use the EL 3.1 on that new host
Posted to
Microsoft Application Blocks
(Forum)
by
lordofthexings
on 4/9/2008
How to Sense 2.0 on VisualStudio 2008
We have a 2.0 web site but it has a project file as well, the site is checked in Team Foundation Server , I opened it with 2008 but not converted to 3.5 framework, and the project settings > target framework is already set to 2.0 but intellisense shows 3.5 object model When I open the same web site locally with VS2008 intellisense works as 2.0 object model I added a new project to the same solution with the 2.0 framework and it shows the object model perfectly but on that other old project it
Posted to
Visual Studio 2008
(Forum)
by
lordofthexings
on 4/9/2008
applicationSettings not visible , change of web config programatically
Hello I m working on some legacy code I want to modify a web service's web config file. The current application's web config has the address of that web service . Both the web service project and the web project I m working are supposed work on the same machine. First of all I want to read the current web project's applicationSettings section to get to the web service.You can see the web config file for this application below On the project properties I see those settings listed but My
Posted to
Configuration and Deployment
(Forum)
by
lordofthexings
on 3/28/2008
web.config question
Hello I m working on some legacy code I want to modify a web service's web config file. The current application's web config has the address of that web service . Both the web service project and the web project I m working are supposed work on the same machine. First of all I want to read the current web project's applicationSettings section to get to the web service.You can see the web config file for this application below On the project properties I see those settings listed but My
Posted to
Configuration and Deployment
(Forum)
by
lordofthexings
on 3/28/2008
Re: Service unavailable hosting
They are indeed fully *** loaded as they set the application to recycle every minute, causing my site pretty much to be non functional and lie that they didn't set it that way, it starts with parc .. Never get service from them , or it will be your biggest mistake , it i snot just they don't know what they are talking about , also the fact they try to bully you,with their cheap sick mentality,
Posted to
Hosting Open Forum
(Forum)
by
lordofthexings
on 2/25/2008
Re: Service unavailable hosting
it is on isolated app pool, and they say the samething : that memory is eaten by my application and when i debugged the application i saw that its restarting every minute ,obviously they are just liars and misconfigured my host plan causing it to be nonfunctional , i have classic asp application as well php on that site too in different frames or pages, and sometimes i get service unavailable from only the asp application, not the rest of the page or from php
Posted to
Hosting Open Forum
(Forum)
by
lordofthexings
on 12/28/2007
Re: Service unavailable hosting
Well I also purchased package called stability from them , which give static IP and isolated app pool, 20 people at the same time is that a busy site now ? Wow never thought
Posted to
Hosting Open Forum
(Forum)
by
lordofthexings
on 12/28/2007
Re: Service unavailable hosting
Well the one I was complaining above is one of those in the list:) What would be the reason of service unavailable's and I see only a few of them in the list show how much memory they allocate for each customer , I m assuming I won't be in need of more than 100MB memory
Posted to
Hosting Open Forum
(Forum)
by
lordofthexings
on 12/28/2007
Page 1 of 2 (18 items) 1
2
Next >
TechNet Edge:
Windows Firestarter Events (Part 3 of 5): IE8 - Browse the Web in Style!
WindowsClient:
The year ahead, 2010.
TechNet Edge:
FOPE Policies Deep Dive Interview
Silverlight:
Silverlight HVP Design Update
WindowsClient:
Windows Client Developer Roundup for 12/28/2009
WindowsClient:
Snoop with 64 bit support
ASP.NET:
jQuery Hide/Close Link
ASP.NET:
Merry Christmas
TechNet Edge:
FPE Customer Story
Silverlight:
Being a writer, and having an editor. A Short Rant.
Channel 9:
Channel 9 Live at PDC09: Dr Brian Brooks (3M)
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 13 of 13
Silverlight:
Information for Silverlight HVP Developers…
WindowsClient:
Custom Content Loaders in Silverlight 4.0
WindowsClient:
MVVM Links\Info
TechNet Edge:
Check out how Dolly Parton uses IE8 and Web slices!!!
Silverlight:
A Silverlight HVP Update
Channel 9:
Channel 9 Live at PDC09: This Week on Channel 9 - PDC09 Daily Show Edition Day 1
Channel 9:
Maria Klawe: Scholar, Scientist and Microsoft Board Member
Channel 10:
Play the Bing Sherlock Holmes Game
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online