CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
web_forms
getting_started
data_presentation_controls
dotnetnuke
data_access-sql_server_sql_server_express_and_sqldatasource_control
security
client_side_web_development
novell-support-groupwise-6x-clients
data_access-data_access_and_objectdatasource_control
asp-net_ajax-asp-net_ajax_control_toolkit
novell-support-netware-6x-install-upgrade
asp-net_ajax-asp-net_ajax_discussion_and_suggestions
novell-support-netware-6x-administration-tools
master_pages_themes_and_navigation_controls
configuration_and_deployment
novell-support-netware-client-winnt-2x-xp
novell-support-groupwise-7x-clients
asp-net_ajax-asp-net_ajax_ui
novell-support-edirectory-netware
community-free_for_all
visual_studio_2005
novell-support-groupwise-6x-install-setup
data_access-xml_and_xmldatasource_control
control-cancel
novell-support-iprint
advanced_asp-net-crystal_reports
data_access-xml_web_services
microsoft-public-access
novell-community-chat
state_management
novell-support-netware-6x-abends-hangs
dotnetnuke-getting_started
novell-support-groupwise-6x-gwia
-net_languages-c
novell-support-identity-manager-engine-drivers
novell-support-groupwise-discontinued
advanced_asp-net-architecture
opensuse-org-suse-linux-support-install-configure-administration
dotnetnuke-custom_modules
novell-support-groupwise-7x-install-setup-admin
novell-support-netware-6x-storage-media
novell-support-groupwise-6x-agents
installation_and_setup
data_access-access_databases_and_accessdatasource_control
windows-hosting_open_forum
visual_web_developer_2005_express
novell-support-groupwise-6x-web-access
novell-support-netware-6x-server-backup
macromedia-dreamweaver
novell-support-netware-5x-administration-tools
novell-support-ifolder
novell-support-bordermanager-install-setup
novell-support-imanager
microsoft-public-dotnet-framework-aspnet
novell-support-netware-5x-install-upgrade
novell-support-cluster-services
novell-support-bordermanager-proxies
novell-support-newsflash
advanced_asp-net-sql_server_reporting_services
microsoft-public-dotnet-languages-csharp
web_parts_and_personalization
about_this_site-feedback_on_this_website
ibm-software-websphere-portal-server
novell-support-netware-dns-dhcp
novell-support-zenworks-desktops-4x-app-launcher
-net_languages-visual_basic_-net
advanced_asp-net-custom_server_controls
novell-support-bordermanager-vpn
novell-support-ndps-neps
microsoft-public-sqlserver-programming
novell-support-netware-webserver
community-jobs
novell-support-netware-4x
advanced_asp-net-mobile_and_handheld_devices
internet_explorer_web_controls
novell-support-zenworks-desktops-4x-install-setup
novell-support-edirectory-linux
novell-support-groupwise-7x-gwia
development_tools-web_matrix_general_discussions
microsoft-public-access-formscoding
macromedia-flash
community-announcements
portal_starter_kit
novell-support-zenworks-desktops-4x-management-agent
novell-support-zenworks-patch-management
novell-support-native-file-access
microsoft-public-access-queries
microsoft-public-access-forms
novell-support-groupwise-7x-web-access
novell-support-netware-small-business-6x
data_access-active_directory_and_ldap
novell-support-edirectory-windows
novell-support-groupwise-7x-agents
novell-support-ichain
data_access-oracle
novell-support-zenworks-desktop-management-6x-imaging
novell-support-groupwise-7x-wireless
novell-support-netware-5x-abends-hangs
advanced_asp-net-localization
novell-support-zenworks-desktop-management-7x-imaging-server-nw-win




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > visual_studio.vs_2005_web_application_projects Tags:
Item Type: Date Entered: 5/31/2006 4:46:13 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 0 Views: 80 Favorited: 0 Favorite
1 Items, 1 Pages 1 |< << Go >> >|
"tmitchel2" <>
NewsGroup User
Cannot connect to oracle database when using WAP5/31/2006 4:46:13 PM

0

Does anyone know of any problems connecting to (oracle) databases when using WAP ???

I have a problem when trying to access my oracle database when using WAP, im not sure if the problem is related to oracle but it is definitely related to WAP and definitely not related to the ASP.NET Development Server.

The code below works in a standard web project, its a very simple project with a 'Default.aspx' page that loads and connects to a database using OLE and / or an OracleClient, it works fine as you would expect.

Exactly the same code but in a WAP project throws an error when trying to open the database in OLE and / or OracleClient modes.  OracleClient throws this error :

ORA-12154: TNS:could not resolve the connect identifier specified

and OLE throws this error :

ORA-06413: Connection not open

 

Here is the code (obviously my connectionstring didnt have ... when i ran it Smile ) >>>

Partial Public Class _Default
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        OpenOle()
        OpenOracle()
    End Sub

    Private Sub OpenOle()
        Dim con As New Data.OleDb.OleDbConnection("Provider=MSDAORA.1 ;Data Source=...; User ID=...; Password=...")
        con.Open()
        con.Close()
        con.Dispose()
    End Sub

    Private Sub OpenOracle()
        Dim con As New OracleClient.OracleConnection("Data Source=...; User ID=...; Password=...")
        con.Open()
        con.Close()
        con.Dispose()
    End Sub

End Class
 
1 Items, 1 Pages 1 |< << Go >> >|


Free Download:













msde creating the dotnetnuke sql file - help

dnnjungle templates update example

error: tab management is currently unavailable.

dnn1.0.10 error converting data type nvarchar to datetime.

is webhost4life going belly up?

show copyright credits defaulting back to checked

delete user from child site deletes from all sites

menu css question

the right tool for the job?

webstone shadow module conversion?

what should i do with "object reference not set to an instance of an object"

install -v- source package

how to move portal?

how can i download it?

drop-downs don't populate in bonosoft multi page

adding page and modules to many portals

dotnetnuke 3.0.13 installation issue- section or group name 'data' has already been defined.

3.0.10 added feature...

programmatically change module title

error about to pull plug on my dnn portal

ignore this - just testing moderation

installing and using skins error

file upload for registered user

seeking help on datagrid and dropdownlist

site settings

dnn 2.1.2 sql execute scalar

favicon handling enhancement for dnn 2.1.2

moving dnn, file resources and db - image links not updating correctly.

dnn 3.0 missing images

hosting: portal disk space - file upload error

turn off features in rich text editor

re: how to get ftb to load styles from skin

site spelling checker tool?

dnn and capture gateway

modifying register page/flow

search relevance - all numbers over 1000

a helpful module (free)

2.1.1 ftb preview returns html markup

help required understanding how to create my skinning rss thing.

does the page_load get processed for all roles or just those w/view capabilities, and if so, then how/where to put code in a module *before* view roles are processed?

** which version of dnn is installed? **

changing core modules

running slow

3.0.5 xcopy

more fun with wizards (unrelated to my other post)

allowing permission to edit module but not page?

content management for dnn?

new dnn creative magazine issue 1 online

.net 2.0, password reminder gets me "an unhandled error has occurred."

can i print the current page in iframe?

 
Search This Site:

 
  Privacy | Contact Us
All Times Are GMT