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:683111
More Search Options
RSS Available
Matching Posts
Re: FileConfigurationSource Not Loading
Configuration settings in FileConfigSource are are not accessible via ConfigurationManager. The best solution here is to use configSource attribute of the individual config sections as Tom Hollander points out in his blog: http://blogs.msdn.com/tomholl/archive/2006/04/02/entlib2externalconfig.aspx In this case: < connectionStrings configSource = " demo.config " /> where demo.config includes only the configuration element of interest: < connectionStrings > < add name = "
Posted to
Microsoft Application Blocks
(Forum)
by
brettemiller
on 7/22/2009
FileConfigurationSource Not Loading
I cannot seem to get my externally configured connectionstrings section to be loaded on the app startup. Any advice? Code: ConnectionStringSettings settings = ConfigurationManager.ConnectionStrings["default"]; if (settings == null || settings.ConnectionString.Trim() == "") throw new ConfigurationErrorsException("No default connection string."); Error: System.Configuration.ConfigurationErrorsException: No default connection string. web.config: <configuration> <configSections>
Posted to
Microsoft Application Blocks
(Forum)
by
brettemiller
on 7/21/2009
Re: Visual Studio hangs when clicking Open Website
This thread's a little old, but for the sake of those who google upon it... It's likely a mapped drive that's sending VS out to lunch. At the command prompt, type: c:\net use Then delete any mapped drives, e.g., c:\net use /del x: c:\net use /del \\server\path Good luck! --Brett
Posted to
Visual Studio 2008
(Forum)
by
brettemiller
on 5/18/2009
Re: Error w/ Toolkit: Microsoft JScript runtime error: 'Sys' is undefined
Thanks ricingr. Another consideration is to be sure that one is not manipulating controls during or after the PreRenderComplete event: protected override void OnPreRenderComplete(EventArgs e) { } --Brett
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
brettemiller
on 3/19/2009
Re: Application model compile error:Could not load type 'Upgrade.Global'.
Hey, put this in the "for what it's worth bin": I, too struggled with this. I spent a few hours rebuilding my app, removing references and re-installing asp.net. Nothing worked. What could possibly have changed???!! Well, upon the advice of this discussion: http://forums.asp.net/p/1088894/2492262.aspx I removed the Inherits="Global" attribute from global.asax, and the compiler moved on. My problem bacame apparent: I had accidentally dragged the App_Code folder into the App_Themes
Posted to
Migrating from Visual Studio .NET 2003 to Visual Studio 2005
(Forum)
by
brettemiller
on 1/29/2009
Filed under: "build error", "could not load type global"
Re: PostBackUrl posts to same page
Sorry. By the time this got moderated, I think we sorted out the issue. We're deploying to a web server farm. I'm generating a machineKey now... which seems to have done the trick. Do I get points for answering my own dumb questions? ;)
Posted to
Web Forms
(Forum)
by
brettemiller
on 10/16/2008
PostBackUrl posts to same page
I need to submit form data to a 3rd party site. I'm using a button control and specifying the postbackurl, which works fine running from localhost or a development server. However, when I release to the live servers, the postback submits to the same page. The code is pasted below. Advice appreciated. Thanks, --Brett <input type="hidden" name="elqFormName" value="snip"/> <input type="hidden" name="elqSiteID" value="snip"/>
Posted to
Web Forms
(Forum)
by
brettemiller
on 10/16/2008
Re: JavaScript Dictionary
Excellent. The 4guysfromrolla example is very helpful, thanks. I've pasted a complete javascript.js file below which allows one to create a dictionary to make calls like the following: var userDict = new Dictionary(); userDict.Add("smith", "admin"); userDict.Add("jones", "user"); userDict.Delete("jones"); var keys = userDict.Keys for(var i=0; i<keys.length; i++) { alert((keys[i]+": "+userDict.Lookup(keys[i]))); } Admittedly, the keys
Posted to
Client Side Web Development
(Forum)
by
brettemiller
on 9/24/2008
Page 1 of 1 (8 items)
Channel 9:
Channel 9 Live at PDC09: Dave Campbell
Channel 9:
Channel 9 Live at PDC09: Yousef Khalidi
Channel 9:
Twitter App for Zune Launches
WindowsClient:
Incarnate
WindowsClient:
Track Fedex packages with Bing
Channel 10:
Twitter App for Zune Launches
WindowsClient:
Rotate your text in the WPF DataGrid Column Headers
WindowsClient:
New gameplay video with D&D on Surface
WindowsClient:
ViewModel Pattern and Speech as UI. Help me Obi Wan, where’s the View?
Channel 9:
Karsten Januszewski and Tim Aidlin: Introducing Incarnate
Channel 9:
Reactive Extensions API in depth: Retry
Channel 10:
iBing uBing: Bing iPhone App Arrives
WindowsClient:
Migrating an Outlook Client to .NET Framework 4 in Visual Studio 2010
Channel 10:
A Look Behind Mouse 2.0
WindowsClient:
Using Speech Synthesis in .NET 4 and Windows 7
Channel 10:
Office 2010 "5 Rules" Presentation
Channel 10:
30% off Expression Web 3 until Dec 28th
ASP.NET:
Live Preview jQuery Plugin
WindowsClient:
Remember JScript closures capture all variables in scope
TechNet Edge:
UAG reaches RTM
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online