Visual Studio/ Oracle set up with both local and remote database
Hi, I am developing a database application in Visual Studio 2010, and have installed Oracle Database 11g Express on the same pc - (Windows 7, 64bit).
Now I am faced with what I need to install next: I've seen that Oracle Developer Tools for Visual Studio is required/recommended, but as it comes as part of the ODAC suite, it asks if I want to install the client or server version. Which should it be?
And would the situation change if I also needed to connect to a remote (Oracle 10g) database? I'm keen to avoid having tnsnames files all over the place, if at all possible, but would I need a separate Oracle client installation in either case?
Many thanks,
Nick
Hi,
Are you actually going to drag and drop things from Server Explorer, and or use Sever Explorer to create/edit/debug stored procedures and such? If so, you'll need (32 bit) Oracle Developer Tools installed, and you'll need to install it into a separate home from the Express home.
If you're just going to "hand code" ODP.NET, you can use the ODP.NET that installs in the Express home. Note though that in VS2010, projects default to compile target of "x86", so to run a 64 bit app with the 64 bit ODP/client (assuming you installed 64 bit db home), you'll need to change it to x64.
You can connect from ODP.NET without tnsnames via the EZConnect version of the connect string.. ie,"data source=//serverhost:port/db_service_name; user id...etc.."
You can use 11g client against a 10g database.
Hope it helps,
Greg
Similar Messages
-
Using old version CS3. Can't "see" both Local and Remote files. Only Local.
Used to see both Local and Remote files. Worked in Local and then "Put" to the Remote when ready. Only see Local now. Work in Local is saved automatically to the server. Need to go back to the work in Local and Put to Remote. What happened? How do we fix it? Thanks!
Could you post a screen shot of what you're seeing when you go to...
Site > Manage Sites > Click the site you're working on > Edit
There should be two tabs in the upper left corner of the dialogue box that comes up, Basic and Advanced. Basic walks you through set-up with a bunch of questions and Advanced allows you to just enter the info into the correct fields. If the Advanced tab is open, it should be under the Remote heading where you set your FTP info. -
Looking up Identical EJB both locally and remotely
prior to posting this request, i have read and
attempted multiple solutions to this problem
suggested in the forums to no avail.
if i have the same EAR, which contains both
an EJB Component and a WAR, deployed to multiple
servers, is it possible to look up an EJB both
locally and remotely?
for instance, on the server performing the lookup,
EJB A is deployed. i successfully look it up
via the following call:
InitialContext context = new InitialContext();
Object ref = context.lookup(name);
return javax.rmi.PortableRemoteObject.narrow("EJBA", EJBAClass.class);
subsequently, i try to lookup the same ejb
on a remote server by performing the following
calls:
Properties environment = new Properties();
environment.put("java.naming.factory.initial", "com.evermind.server.rmi.RMIInitialContextFactory");
environment.put("java.naming.provider.url",
"ormi://remoteserver:23791/application");
environment.put( "java.naming.security.principal", "user");
environment.put( "java.naming.security.credential", "password");
jndiContext = new InitialContext(environment);
Object ref = context.lookup(name);
return javax.rmi.PortableRemoteObject.narrow("EJBA", EJBAClass.class);
however, i either receive an authentican exception, saying "user"
doesnt have access to allication "application", or a null pointer
exception int the RMIInitialContext.
on my local application, i have defined my ejbs in the web.xml
as defined by the spec. the ejb component is marked as remote="false"
in my orion-application.xml as well.
the version of oc4j is 1.0.2.2.1.
any directinon on this would be greatly appreciated.
thanks,
ted riceas a follow up to my own question, using a application
client, outisde of the web application i can
successfully look up my ejbs locally and remotely.
however, from within the web application, i constantly
receive a ClassCastException.
if no one can tell me how to resolve this, could someone
let me know if they have in fact looked up the
same EJB, both deployed locally and remotely, from the
same web application.
thanks,
ted -
Hi Guys,
I would like your suggestion on the following situation I
want to try, currently we have a database on a web-sever to deliver
content, add members and created pages for the CRM functions for
our sales staff.
We have specific requirements for the CRM application part of
the system that requires me to design a number of forms for CRM
users plus the database has other fuctionallity for other parts of
the business.
Due to these forms and additionaly functionallity
requirements it is not practical to continue hosting the database
and need to host this part of our site locally.
Therefore I am considering if the suggestion below would
work:
1. Host the database locally on our own server allowing
internal users full functionallity locally using designed access
forms.
2. Continue hosting the website via hosting providor
3. Create a connection string from the hosted website to our
server for the database
Ultimately the sensible solution is to host both the database
and website via our own server, but due to setup problems we are
having currently the site can be flaky, But we need to switch to
the local database to improve the CRM part of the business in the
very immediate future.
If anyone has any suggestions, advise or further information
related to this I would be grateful for the feedback.
Regards: Les
SBS 2003, DW8, ASP, Access 2000 DBHi,
Are you actually going to drag and drop things from Server Explorer, and or use Sever Explorer to create/edit/debug stored procedures and such? If so, you'll need (32 bit) Oracle Developer Tools installed, and you'll need to install it into a separate home from the Express home.
If you're just going to "hand code" ODP.NET, you can use the ODP.NET that installs in the Express home. Note though that in VS2010, projects default to compile target of "x86", so to run a 64 bit app with the 64 bit ODP/client (assuming you installed 64 bit db home), you'll need to change it to x64.
You can connect from ODP.NET without tnsnames via the EZConnect version of the connect string.. ie,"data source=//serverhost:port/db_service_name; user id...etc.."
You can use 11g client against a 10g database.
Hope it helps,
Greg -
Visual studio web express 2013 with update 4 downloading stuck
I am downloading Visual studio web express 2013 with update 4 and when acquiring KB2829760 it stuck. Then prompts that "Unable to locate package source".Please give your kind attention as this is highly important to fix and install.
Hi,
You could try downloading ISO file for visual studio express 2013 for web with update 4.
http://www.visualstudio.com/downloads/download-visual-studio-vs
Before install, please try verify the supplied DVD ISO checksum use this tool
http://support.microsoft.com/kb/841290/en-us It will tell us the ISO's checksum number, you can use it to compare with the one listed on download page.
If the errors also occur, please use http://aka.ms/vscollect
to gather the installation logs. After using it, you will find vslogs.cab from %temp% folder. Please upload the file to
https://skydrive.live.com/
and share the link here. I will help you check your installation logs to know the reason of your issue.
Best Wishes!
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a
href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey. -
What is @Local and @Remote
I use to think that @Local interfaces are those interfaces that could be called within the same app server JVM and @Remote calls are inter-JVM calls.
I have a code that doesn't support this. I write my ejb module and deployed it under ejb module of SUn application server. I also wrote a web application module deployed under web application module of the same server but because I did not specify any @Remote interface, the web application will not deploy becuase of a null ejb-ref problem.
When I added the @Remote Interface, it work.
This just conflicts my understanding of @Remote and @Local.
Can anyone throw light on this.
Regards.
Michaelto clarify issues on this --
I just completed another test on both @Local and @Remote - all in the same JVM
@Remote
works fine
@Local
*exception*
javax.servlet.ServletException: com.login.service.LoginService#com.login.service.LoginService not found
*root cause*
javax.naming.NameNotFoundException: com.login.service.LoginService#com.login.service.LoginService not found the exception message is from the web page while the server log says
[#|2008-02-21T00:17:30.332-0800|WARNING|sun-appserver-pe9.0|javax.enterprise.resource.webcontainer.jsf.lifecycle|_ThreadID=20;_ThreadName=httpWorkerThread-8085-0;_RequestID=b04cb6db-8a16-463e-ba4f-f2a8aed4d9c7;|executePhase(RENDER_RESPONSE 6,com.sun.faces.context.FacesContextImpl@57737a) threw exception
javax.faces.FacesException: javax.faces.FacesException: com.sun.enterprise.InjectionException: Exception attempting to inject Unresolved Ejb-Ref com.login.web.LoginBean/loginService@jndi: com.login.service.LoginService@[email protected]@Session@null into class com.login.web.LoginBean
at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:521)
at com.sun.faces.el.ManagedBeanELResolver.getValue(ManagedBeanELResolver.java:82)
at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:62)
at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:65)
at com.sun.el.parser.AstValue.getValue(AstValue.java:106)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
Caused by: javax.faces.FacesException: com.sun.enterprise.InjectionException: Exception attempting to inject Unresolved Ejb-Ref com.login.web.LoginBean/loginService@jndi: com.login.service.LoginService@[email protected]@Session@null into class com.login.web.LoginBean
at com.sun.faces.config.ManagedBeanFactoryImpl.newInstance(ManagedBeanFactoryImpl.java:325)
at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:510)
... 55 more
Caused by: com.sun.enterprise.InjectionException: Exception attempting to inject Unresolved Ejb-Ref com.login.web.LoginBean/loginService@jndi: com.login.service.LoginService@[email protected]@Session@null into class com.login.web.LoginBean
at com.sun.enterprise.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:373)
at com.sun.enterprise.util.InjectionManagerImpl.inject(InjectionManagerImpl.java:193)
at com.sun.enterprise.util.InjectionManagerImpl.injectInstance(InjectionManagerImpl.java:87)
at com.sun.faces.vendor.GlassFishInjectionProvider.inject(GlassFishInjectionProvider.java:65)
at com.sun.faces.config.ManagedBeanFactoryImpl.newInstance(ManagedBeanFactoryImpl.java:312)
... 56 more
Caused by: javax.naming.NameNotFoundException: com.login.service.LoginService#com.login.service.LoginService not found
at com.sun.enterprise.naming.TransientContext.doLookup(TransientContext.java:203)
at com.sun.enterprise.naming.TransientContext.lookup(TransientContext.java:175)
at com.sun.enterprise.naming.SerialContextProviderImpl.lookup(SerialContextProviderImpl.java:61)
at com.sun.enterprise.naming.LocalSerialContextProviderImpl.lookup(LocalSerialContextProviderImpl.java:98)
at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:309)
at com.sun.enterprise.naming.NamingManagerImpl.lookup(NamingManagerImpl.java:833)
at com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.java:156)
at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:307)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at com.sun.enterprise.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:274)
... 60 more
|#]
[#|2008-02-21T00:17:30.332-0800|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=20;_ThreadName=httpWorkerThread-8085-0;_RequestID=b04cb6db-8a16-463e-ba4f-f2a8aed4d9c7;|StandardWrapperValve[Faces Servlet]: Servlet.service() for servlet Faces Servlet threw exception
javax.naming.NameNotFoundException: com.login.service.LoginService#com.login.service.LoginService not found
at com.sun.enterprise.naming.TransientContext.doLookup(TransientContext.java:203)
at com.sun.enterprise.naming.TransientContext.lookup(TransientContext.java:175)
at com.sun.enterprise.naming.SerialContextProviderImpl.lookup(SerialContextProviderImpl.java:61)
at com.sun.enterprise.naming.LocalSerialContextProviderImpl.lookup(LocalSerialContextProviderImpl.java:98)
at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:309)
at com.sun.enterprise.naming.NamingManagerImpl.lookup(NamingManagerImpl.java:833)
at com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.java:156)
at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:307)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at com.sun.enterprise.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:274)
at com.sun.enterprise.util.InjectionManagerImpl.inject(InjectionManagerImpl.java:193)
at com.sun.enterprise.util.InjectionManagerImpl.injectInstance(InjectionManagerImpl.java:87)so I am still confused as what @Local is. -
CS3: Viewing local and remote files simultaneously
A friend recently purchased a new computer. On her previous PC, she could expand the Files view in Dreamweaver (v9) CS3 and see a split screen -- local files on one side, remote files on the other.
She removed CS3 from her old machine and installed (from the same disks) on her new machine. Now, she cannot see the local/remote split screen.
She can expand the Files tab (F8) to fill the screen - but that doesn't help. She checked, and her FTP settings are correct and connect properly.
I know it's possible to do this is CS3 - I've seen her do it and I always worked in this view going back to Dreamweaver 4 - but the option to see local/remote seems to be gone!
Any suggestions on how to fix this would be appreciated.Assuming you have properly defined both local and remote site settings -- Sites > Manage Sites....
Your files panel may be too narrow to see it. Open it up wide, notice the icon at far right for "Expand / Collapse?"
See screenshot:
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb -
Visual Studio Express Community 2013 with Update 4
I'm in college, and the class I am in is programming, so in order to do my work, I need C++ (which our required work is through Visual Studio Express). Unfortunately, after every single time I try to download Visual Studio Express: Community 2013
with Update 4, it gives me these error messages: "SETUP FAILED! Install cannot continue because some required components failed.", "Visual Studio Core Features: Fatal error during installation", and "Visual Studio Core Features - ENU:
User cancelled installation". Obviously the last two errors popped up, because of the first error message, but why would it say that some components failed? What exactly does that mean? If someone can please respond quickly, I would be really happy, because
I need to install this ASAP, in order to do my classwork, homework!!!!Hello Eadsele,
I think the problem is pending on your network. Please try download the ISO and verify its checksum before install, refer to here to verify:
https://www.visualstudio.com/en-us/downloads/visual-studio-2013-iso-sha1-vs
Best regards,
Barry
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
When I used download sets of photos, movies etc, (before I installed Lion) I used always get a "Download" gizmo which showed me the download happening with both speed and time left. Now with Lion, nothing shows on my screen. Can I fix this?
In Firefox Options / Privacy be sure "Remember download history" is checked. To see all of the options on that panel, "Firefox will" must be set to "Use custom settings for history".
To find your OS information, on your Windows desktop, right-click the My Computer icon, choose Properties, under System on that small window is info about your OS.
'''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.''' -
Lightroom 4 crashes when trying to open the slideshow module. I spent over three hours with both Adobe and Apple tech support and we know it is a permission issue but have not been able to get it solved. It started with the last upgrade to 10.8
Back up all data.
This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it.
Step 1
If you have more than one user account, and the one in question is not an administrator account, then temporarily promote it to administrator status in the Users & Groups preference pane. To do that, unlock the preference pane using the credentials of an administrator, check the box marked Allow user to administer this computer, then reboot. You can demote the problem account back to standard status when this step has been completed.
Triple-click the following line to select it. Copy the selected text to the Clipboard (command-C):
{ sudo chflags -R nouchg,nouappnd ~ $TMPDIR.. ; sudo chown -Rh $UID:staff ~ $_ ; sudo chmod -R u+rwX ~ $_ ; chmod -R -N ~ $_ ; } 2> /dev/null
Launch the Terminal application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
Paste into the Terminal window (command-V). You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
The command will take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear, then quit Terminal.
Step 2 (optional)
The first step should give you usable permissions in your home folder. This step will restore special attributes set by OS X on some user folders to protect them from unintended deletion or renaming. You can skip this step if you don't consider that protection to be necessary.
Boot into Recovery by holding down the key combination command-R at startup. Release the keys when you see a gray screen with a spinning dial.
When the OS X Utilities screen appears, select
Utilities ▹ Terminal
from the menu bar. A Terminal window will open.
In the Terminal window, type this:
resetpassword
That's one word, all lower case, with no spaces. Then press return. A Reset Password window will open. You’re not going to reset a password.
Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.
Select your username from the menu labeled Select the user account if not already selected.
Under Reset Home Directory Permissions and ACLs, click the Reset button.
Select
▹ Restart
from the menu bar. -
Sending emails with both body and attachment to multiple recipients
I have a requirement to send email with body and attachment to multiple recipients.
Body of the email is a standard text. It is a proxy-to-mail scenario.
Here is what I've done: (I'm using PI 7.11)
One mapping from Source to Target structure (format of the attachment text file)
Second mapping from Target Structure to Mail Package format.
In the second mapping I'm concatenating the output of first step into "Content" of the Mail Package.
"XIPAYLOAD" is the message protocol used.
The "Keep attachments" option in the Mail adapter allows only to send "Content" as attachment or as body of the email.
How to send an email with both content and text?
The other problem is even with using ASMA, I can't send email to multiple recipients. I can only do CC and TO for 1 person each - a total of 2. Although I can resolve this by creating mailing lists, it is better if this can be addressed in PI.
Thanks for any input you can provide!
Edited by: crazylad on Jan 18, 2012 3:39 PMThank you for your response Mikael.
For the first question, I was able to find the solution in the following blog:
XI Mail Adapter : Dynamically building attachment and message body content using a simple UDF
(I just needed to search with the right set of key words )
The key is to set the "Content Encoding" as "None" in the mail adapter. If this is not done, the mail will be sent with an attachment - untitled.bin containing both the mail body and the attachment text. Also, don't forget to check the "Keep Attachments" checkbox in the mail adapter.
Multiple recipients could be added by separating the email IDs with a Comma. I have used ASMA to set the recipients. -
How do create a slide show with both video and photos in elements 12
how do create a slide show with both video and photos in elements 12
Hi Brian
You can batch process a set of prepared slides from Full Edit (see image) using:
File >> Process Multiple Files
In the PMF dialog you can choose filename, date, or description (caption)
Make sure you choose a separate destination folder to your source folder so as tot to permanently overwrite your originals.
Click image to view -
Investigate book with both landscape and portrait pages
I've an old book where I sucessfully swapped landscape and portrait pages, but there are complications why I cannot use it as a model for my current project. Since I no longer remember how I accomplished this, I have to investigate how to build a book with both landscape and portrait pages.
I know about paragraph tags set to use a new page. Also a table on Reference page which lists Paragraph Tag Name, Right-Handed Master Page, Left-Handed Master Page, Range Indicator.
But this doesn't seem to be enough; something is not working.
Could you please point me toward resources which discuss how to do this?
Thank you kindly,
TheresaI think there was a big discussion of this already either here on the forum or over at the Frameusers.com list (I forget which). Try googling -
-
Shooting with both 1080 and 720 settings on location?
Hello,
I'm new to video world. 7D has been my camera for photography and now I'm interested in using it to do some video as well. I've been reading and searching a lot online lately and was wondering if below is the best way to approach an on-location shoot:
1. Shoot with 'mainly 1920x1080 (24fps)' setting and 'switch to 1280x720 (60fps) setting' for the part which I know I will use the footage for 'slow motion'
2. After finish shooting, bring all footages to CS5 premiere and use '1920x1080 (24fps)' sequence/timeline to process footages shot with both 1080 and 720 settings.
3. Use the 'Interpret Footage' function to slow down the footage shot with 1280x720 setting and make it 24fps
Would this strategy work well or should I do the entire shoot with just '1280x720 (60fps)' setting and still use the '1920x1080 (24fps)' timeline in CS5?
Thank you for any help that you could provide as I'm eager to learn!I think your question involves a couple of misconceptions:
assuming you're referring to Canon 7D, OnLocation does not support that camera to the best of my knowledge. For live monitoring and recording, OL works only with devices that output via Firewire (IEEE 1394), which I don't believe is true of the 7D.
while PPRO's Interpret Footage feature can serves the purpose of making a clip play in slow motion, that's not it's intent. Moreover, Premiere has better ways of achieving the goal, namely the Time Remapping feature and the Rate Stretch tool. Rather than attempting to explain those features here, I'll simply urge you to read the page in the help titled "Change speed and duration for one or more clips" (Home / Using Adobe Premiere Pro CS5 / Effects and transitions / Duration and speed)
As to your most basic question of what resolution and framerate to shoot, I'm not the best person to answer that, and the OnLocation forum is probably not the best place to get an answer. I'd suggest either the Premiere Pro forum here on Adobe.com or a more general forum such as dvinfo.net, creativecow.net, or dvxuser.com. -
I have an iPhone and iPad. I would like to get my husband an iPhone. Are we able to sync all devices and share info with both iPhones and the iPad, using a single email address?
Thanks for that. He is one of the last holdouts in IT so an email address for him would just mean I have 2 to check so that is what I am trying to avoid as we move into retirement:)
Maybe you are looking for
-
View the changes in iSync?
Hi, The sync works perfectly with my Motorola RAZR. But is there a way to see what are the changes being applied? E.g. when I get a message one new contact added...how do I see which contact is being added? Thanks.
-
How to justify text vertically in multi-column frame
How do I justify text vertically in a multi-column frame but within the baseline grid? Working at a very busy publication, fitting text evenly in multi-column text boxes are crucial to be done quickly! I understand that it can be done manually by adj
-
Mandatory Fields for IDOC ORDERS01 for Pricing Condition EDI1 to trigger
Hi , I'm Testing an Inbound ORDRSP using we 19 for Pricing Conditions EDI1. What are the Mandatory Fields for IDOC ORDERS01 Thanks
-
In my SOA Composite, Can I use file/FTP adapter to get the EDI X12 850
Our requirement is to build a SOA Composite to dump all the details in a EDI X12 850 ( Purchase order ) document in to a database table. In my SOA Composite, Can I use file/FTP adapter to get the EDI X12 850 element details to map them to a base base
-
I have a bt yahoo account, my email address ends with bt yahoo. com, i can also log into bt ending with bt openworld.com, is this ok thank you Solved! Go to Solution.