Databases :: Oracle10g Cannot Be Connected?

Sep 13, 2010

I am using asp.net 3.5 in visual studio 2008; when ever tried to connect the DB through data connection in server explorer or in Gridview new connection it seek a user id ,password and the server name. while i provide all this it gives an error:

ORA 12514: TNS: listener does not currently know the connect descriptor.

I have googled the error but could not resolve it till now.

I am using windows XP as OS.

View 5 Replies


Similar Messages:

Oracle10g - Error : Column Ambiguously Define, When Migrate To Other Server

Oct 12, 2010

I have ASP.Net application, It using mix .net framework, there are project with ,net framework 1, 2.0 and 3.5. buat they are in separated project / location. And its running well before.I have a problem when I migrate my application from old development server to new one, FYI, my old server is windows server 2003 32 bit with oracle 10g, and my new server is windows server 2008 64bit with the same oracle version. I have set all configuration identically in both servers. using same database schemas, and same application.Overall, the application running well, but I was surprise when I found some error page while I running application in new server. error message is : ORA-00918: column ambiguously defined I don't know how the error happen, whereas in old server, no error at all with identically configuration.any one have same problem ?is it because 32bit & 64bit ?

View 1 Replies

Connected Between View And Controller?

Nov 30, 2010

I'm a newbie and I tried finding a solution of this error message:


"The model item passed into the
dictionary is of type
'NerdDinner.Controllers.DinnerFormViewModel',
but this dictionary requires a model
item of type
'NerdDinner.Models.Dinner'"

There are similiar problem error but not the same context problem. I believe that the problem is located in the edit.aspx and still i can't solve it.

DinnersController:
//
// GET: /Dinners/Create
public ActionResult Create()
{
Dinner dinner = new Dinner()
{
EventDate = DateTime.Now.AddDays(7)
};
return View(new DinnerFormViewModel(dinner));
}

Models:

[Code].....

View 3 Replies

Used To Get The IP Address Of A Connected User?

Mar 16, 2011

which property should be used to get the ip address of a connected useruse property

View 3 Replies

Start Asp File Connected To Database?

Oct 18, 2010

I have a question related to MDF file that store out data in. Actually I'm a newbie in ASP and I found a project that has ASP.NET plus C# so I want to start that file so placed all the file in C:inetpubwwwroot. There is a folder that call App_Data and has a database file end with .MDF Now how can I open this file to see the whole tables? I have Microsoft server 2008 Developer and I have VS 2008 and how can I start my ASP page with database loaded?

View 1 Replies

Security :: Users Are Not Connected To The Role?

Feb 13, 2011

I am adding users to roles ,, but i think the users are not really connected to the role ??

One othe thing: does this code looks ok:

[code]....

View 3 Replies

SQL Server :: Connectionstring Has Been Connected To The Database?

Aug 15, 2010

can anybody tell me how to show how long your connectionstring has been connected to the database?

View 4 Replies

C# - Controlling A Hardware Connected To A Com Port?

Dec 18, 2010

i want to make a web site which is able to control a hardware on a clients computer.

the the hardware for example be a simple gsm modem

this is a general question, for asking of methods and opinions as for the following

control this hardware using the computer the hardware is connected to.
control this hardware using another computer over a network
control this hardware using a web site application or a simple web site

the thing to consider --> this is a class group project which we implement in c# asp.net.

edit

hope the broadness is narrowed down.

assume there is a remote control attached to the comm port of my computer, which controls a small car.

i want user around the world to be able to move the car using there keyboard.

i can write a desktop app to control the remote using the printer port but thats on my local host only.

View 1 Replies

Web Forms :: Upload File On Other Machine Connected In LAN

Feb 22, 2010

I am working on asp.net 3.5 through C#, I have 1 problem regarding File Upload. We are using Master Page. How to upload file on Other Machine connected in LAN

View 2 Replies

How Messages Flow Between Computers Connected With Internet Or LAN

Jun 15, 2010

I have been doing Windows programming in .Net since last two years. Now I am shifting to web programming so I just stuck in understanding the fundamentals of web programming, after googling I came to StackOverflow to learn from all of you great guys.

My confusion is about how messages flow between systems in distributed enviornment ? I mean suppose I want to send a message "Hello" to a system connected to LAN or Internet, then what will be the steps taken to send the message.

Second thing is suppose my system is "A" and I wana send message to system "B" which is connected via a wire, so how the message flows on wire and how system "B" reads it from the wire ?

View 4 Replies

Connected Database - To Find Its TableAdapter Class?

Aug 19, 2010

I can't see it nowhere in Visual Studio's Solution Explorer. The tutorial that I am following is using the Northwind database and hence the need to add the code line "using NorthWindTableAdatpter;" statement.So I thought I needed to add "using myDBTableAdapters" statement in my code which I did, but it's giving an error saying:

"The type or namespace name 'myDbTableAdapters' could not be found (are you missing a using directive or an assembly reference?)"

What's wrong? Where is the class for myDB's table adapter? I searched the .xsd file, but there's no mention of "myDBTableAdapters".It's not there in the Solution Explorer.

View 1 Replies

C# - Created Dataset Connected To Filebased Sql Database?

Jan 26, 2011

So i am developing app according to official asp.net tutorials DAL Tutorial.So i created dataset connected to filebased sql database where are tables VIDEO, GENRE, LOAN! VIDEO has FK to GENRE and LOAN has FK to VIDEO! I tried to create method GetVideoByLoan with this sql command:

SELECT VIDEO.ID_VIDEO, VIDEO.TITLE, VIDEO.DIRECTOR, VIDEO.YEAR, GENRE.TITLE AS GENRE_TITLE
FROM VIDEO INNER JOIN
GENRE ON VIDEO.ID_GENRE = GENRE.ID_GENRE INNER JOIN
LOAN ON VIDEO.ID_VIDEO = LOAN.ID_VIDEO
WHERE (LOAN.USERID = @USERID OR @USERID = cast(cast(0 as binary) as uniqueidentifier) AND(LOAN.ISLOAN = @ISLOAN)


Everything is ok, no problem to return the results, but when i try this sql:

SELECT LOAN.ID_LOAN, LOAN.USERID, LOAN.ID_VIDEO, VIDEO.TITLE, VIDEO.DIRECTOR, VIDEO.YEAR, GENRE.TITLE AS GENRE_TITLE[code]...

i get error.Failed to enable constraints. One or more rows contain values violating non-null, unique,
or foreign-key constraints.

Description: An unhandled exception occurred during the execution of the current web request.
Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.ConstraintException: Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints.

If i run above sql command in query editor everything is fine, but when i try to access it through dataset the above error apperas, despite that first sql was working. I also tried to remove VIDEO DataTable from DataSet and drop it there from server explorer again but it not helped.

View 2 Replies

Error #2126: NetConnection Object Must Be Connected?

Mar 7, 2010

I want to count the online user,when each client login the system,it's connecting to the server and increase a variable stored in a remote shared object.But when client connecting server,problems arises:Error #2126: NetConnection object must be connectedMy web layout:Website --- apps --- userLoginCode snippets:

rtmpnc = new NetConnection();
rtmpnc.objectEncoding = ObjectEncoding.AMF0;
var uri:String = ServerConfig.getChannel("my-rtmp").endpoint + "/userLogin";

[code]...

View 1 Replies

VS 2010 - Colorpicker Extender Connected To Textbox

May 28, 2012

I have a textbox to which a colorpicker extender is connected. As user selects the color, respective color and code is shown in textbox. On click of button values stored in database.

But when i retrieves value from database, color is not showing in same textbox. Even I tried with attaching colorpicker extender to a button but it cant connect with button i.e. target control id cannot be a button or link button.

View 6 Replies

Data Controls :: Get List Of Connected Ports

Jan 24, 2016

write a program so that we can find the comp port of a modem connected to the system..Example:- system com port or usb modem port ID should be automatically been displayed to the drop down box creagted in the web form.

View 1 Replies

Managing SQL Server Connected To Existing DotNetNuke Website?

Oct 14, 2010

Before my time at the company they paid for a very expensive website written in asp.net and dotnetnuke. Absolutely terrible but there's very little that can be done about that now. They won't give us access to the SQL Server for some bizarre reason but they've given us FTP access.

Is there some way I can install a database manager (like phpMyAdmin) using FTP? I think I've found the username and password but I'm not familiar with asp so it's quite a confusing system.

View 2 Replies

Importing CSV Files - Path Spelled Correctly And Connected To Server

May 21, 2010

I have this code

Dim myDataset As New DataSet()
Dim strConn As String = "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=" & Request.ServerVariables("APPL_PHYSICAL_PATH") & "dynamicuploadedLists" & strFileName & ";" & _
"Extended Properties=""text;HDR=Yes;FMT=Delimited(,)"";"

''You must use the $ after the object you reference in the spreadsheet

Dim myData As New OleDbDataAdapter("SELECT * FROM [" & table & "$]", strConn)
'myData.TableMappings.Add("Table", "ExcelTest")
myData.Fill(myDataset)

And I am getting the error , while the path is correct.

'E:missitenamedynamicuploadedListsSheet1.csv' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.

View 3 Replies

MVC :: Populate Input(text) Fields From Connected MSSQL Database?

Jan 30, 2011

I have a database containing various datafields that I need to display to a user based on their userID (which is assigned during login).

I need the data to be displayed in a specific format. i already have a table with input (text) fields and select fields created in html.

I need to know the easiest way to populate these fields with the data found in my database in an MVC fashion.

View 2 Replies

Website Access / Login Page Will Be Connected To Local Database?

Mar 30, 2010

when a website is entered in a browser it should take to a login page (in localhost) and if the login succeed then the site should be loaded else an error page should be displayed. the login page will be connected to local database. how to do this?

View 6 Replies

Forms Data Controls :: How To Edit Screen For A Page Connected To Access

Nov 12, 2010

I have an .aspx page (with code behind) pulling in data from an Access database and has a gridview with a select that shows product details in a detailview and shows a picture of the product... it is all working correctly, but I need to develop another page for editing a selected product and have no idea where to start... I'd prefer a popup screen launched from en EDIT button with textboxes and an UPDATE button... does anyone have any clues how to do this? Here's my .aspx with the code-behind under it:

<div id="content-main-three-column" style="background-color: #335E66; height: 630px;">
<div style="position: absolute; top: 32px; left: 198px; height: 327px; width: 381px;">
<asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager>
<asp:AccessDataSource ID="AccessDataSource1" runat="server"
[code]...

View 3 Replies

Forms Data Controls :: Paging A Repeater That Is Connected To Object Datasource?

Oct 6, 2010

I have a need to add a new report to my page, the differnent parts of the page are all using a objectdatasource to populate the data. The new report because of all the data being returned i have started to use a repeater and a table in the ItemTemplate. Just binding the objectdatasource to the repeater works fine, but returns all the records and causes the page to be very long. I found this link for adding paging to repeater, but its setup different than what i have

[URL]

Is there any way to use what i have already and add paging to the repeater?

[Code]....

View 3 Replies

Web Forms :: Connection Attempt Failed Because The Connected Party Did Not Properly Respond

May 7, 2015

I got an error "A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond".when i am sending email when attachment.

protected void lbtn_DownloadForm_Click(object sender, EventArgs e)
{
using (StringWriter sw = new StringWriter())
{
using (HtmlTextWriter hw = new HtmlTextWriter(sw))
{
pnlPerson.RenderControl(hw);

[code]....

View 1 Replies

Web Forms :: Creating Simple Whiteboard With Dynamic Updates Between Connected Users

Jul 16, 2012

I need to create a very simple whiteboard with dynamic updates between connected users.

While doing research i hit through a link: [URL] .... which is providing same functionality and it was impressive at first look w.r.t functionality.

What will be required to create such a whiteboard with dynamic updation.

View 1 Replies

C# - Sharepoint Connected Web Parts / User To Be Able To Enter A Value In The Textbox And Click A Button To Update?

Jun 8, 2010

I have one web part (the provider) which displays insurance claims in a gridview. When user clicks on one this value(case number) is passed via IWebPartField interface to another web part(consumer) which displays detailed info about the claim. So far so good. I can select different claims in the provider and the details show up in the consumer just fine. The moment I add a TextBox to the consumer, the consumer no longer recognizes the case number passed. I need the user to be able to enter a value in the textbox and click a button to update that claim info. I can debug and attach to process and it looks like it is getting the case in the callback function, etc, but when it is setting parameters for the stored proc in CreateChildControls, it is null. Comment out the TextBox and it works fine.

View 1 Replies

Forms Data Controls :: Creating A Website Using VS2008 And Connected To A Firebird Database?

May 3, 2010

Ive created a web site using VS2008 ASP.net and connected to a Firebird Database.

I have a page that has a GridView(added at design time) and have connected to a table at runtime.

[Code]....

All good as the table contents are displayed at 10 rows per page. Ive set the Property AllowSorting to True. Has anyone got examples on how to code the sorting? Ive had a look round the net but all the examples Ive tried dont work.

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved