|
I am looking to integrate ELMAH into an existing ASP.NET application to further support error investigations and could use some help with the connection strings. We use a single web.config file for all or our environments the application is deployed in...
Started by RSolberg on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
I use this to the class (warning - untested code):
public static string CustomConnectionString { get; set.
In the code, just refer to "AppDB".
The connectionStrings.config file is in, modify the connectionString.
|
|
Is there any good example code in Coldfusion 8 that shows how to use Facebook Connect?
Started by Jason on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Might take a look at Facebook Developer Wiki which has a link to 8 Minute Apps... .
Have you checked the available RIAForge (used search link because there are 5 of them already there) options? Havent used them personally, but descriptions give some hope .
|
|
I connect to mysql database with java coding and give input as hostname,user,password. its able to connect and reterview the data. But when i activated firewall , its not able to connect database.
Answer Snippets (Read the full thread at stackoverflow):
You should configure your firewall to not block the port number used by MySQL for communication (3306 by default) for the ... .
Set-up your firewall to allow connection on that port.
Your firewall blocks the incoming connection to port 3306.
|
Ask your Facebook Friends
|
What is connection() in the following code?
Code which I do understand completely
if($user->connection($email,$password)){ }
Let's assume connection() is pseudo-code. Is the pg_prepare and pg_execute` enough to create the connection?
The line caused...
Started by Masi on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
$mail & $password are....
connection is a method in that class.
$user is an instance of a class.
Nothing to do with arrays.
I haven't actually used php.net, but this just looks like connection is a method of object $user that takes 2 params.
|
|
Hi guys, I'm wondering what would be the best prectice regarding mainataining connections to the database in .Net application (ADO.NET but I guess the practice should be the same for any data layer). Should I create a database connection and propagate...
Started by Karol Kolenda on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Here is some code as an example = mgr.Connection // More ADO Code Here } _childObject.Save(); //this child object follows the same pattern are implementing IDisposable, but I'....
And disconnecting the SQLConnection object when not in use.
|
|
I am having a peculiar problem with the iPhone SDK.
I have tried to run several tutorials from different sources on my development machine. The problem always seems to be in connecting the code to a view in Interface Builder. If I have a button or data...
Started by JMeringer on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Was refusing to connect my image view to the corresponding property because the property was a UIImage.
|
|
Hello everyone,
I need to write some code to trigger internet connectivity on a computer. By default,internet should not work.
But,after installing my program,internet should work.
Ofcourse the computers are connected to my server and normally access ...
Started by Josh on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
I don't understand how you would disable internet access in the first place, before your program even exists on the computer... .
Certain ports when it thinks you have a trojan.
Zone Alarm does something similar, where I've seen it disable "interet access" i.e .
|
|
OK, Ive got my site all up - just not working. ahah. I need (I think) the correct code for a connection string to my database etc. I'm using ColdFsuion and Mysql. My code for the connection string is as follows:
<CFQUERY NAME="cfGossip" DATASOURCE=...
Started by Steven2304 on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
I believe CF5 was the only version of CF that allowed DSN-less connections that would.
In my code.
|
|
I would like to handle an OracleException thrown when my network/database connection is interrupted, where can I find out what error codes I might can receive?
I guess since we are talking about a connection interruption these would be technically TNS...
Started by George Mauer on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
ORA-12203 TNS:unable to connect to destination" ORA-12500 TNS:listener failed to start a dedicated.
|
|
Hello everyone,
Here is my javascript code which ping Google for every 10 seconds and display the connection status to html MonitorInformation element. But when I click the html file to debug, the information displayed at MonitorInformation element is...
Started by George2 on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
This is a browser.
Unless your code is on the google.com domain it won't work.
You can't connect to a site outside of your URL.
You can't cross domain XHR for which you don't have access to AFAIK .
|