Trying to change the Release/Debug connection string (ORACLE) of a VS13 Lightswitch project. Getting ORA-00942 error...
Hello,
i try to change the connection string of a Lightswitch 2013 project. I have a database for developers and a 'productive' database for releases. Both are similar (table names, entries etc..) and they are from ORACLE. First i attached the developer database
as an external source. Everything works fine. Now I'm trying to change the connection string whether my application is in a release state or in a developer state.
I found a hint in the following question to solve that issue: Question
from a LS-User
It is possible to change the connection string during the runtime. I tried it out and added to my DataBaseService.lsml.cs:
partial void DataBase_InitializingConnection(DatabaseConnectionState state)
state.ConnectionString = "DATA SOURCE=DB.productive;PASSWORD=password;PERSIST SECURITY INFO=True;USER ID=USER_PROD";
Well, Lightswitch is using the new connection. But when i run the application, i am getting the error "ORA-00942: table or view does not exist". The views and tables definitely exist. The two schemas are the same. So what am i doing wrong?
Regards from Munich
HI Munich,
Welcome to Lightswitch forum.
According to your description above, you want to connect to external datasource in Lightswitch application.
Oracle is not a supported data source for LightSwitch, it's recommended to use SQL Server database.
If you want to change the connection string, you can update the connection string for a data source using the data source wizard. For example in VS2013:
Please let me know if there is anything that I can do to help.
Best regards,
Angie
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.
Similar Messages
-
how do i cancel iTunes match? i am trying to change the country details as i am now in germany, but keep getting a message saying i first need to dance the existing iTunes match
When you try to change your county, you might see one of these messages:
You have an active iTunes Match subscription; you must cancel it before you can change stores.
You have at least one incomplete pass. Passes must be complete before you can change stores.
You have rentals that have not expired; they must expire before you can change stores.
You have a store credit balance; you must spend your balance before you can change stores.
You have one or more pending store credit refunds. You must wait a few hours for these to complete before you can change stores.
You are part of a family. You must leave the family before you change stores.
From
Can't change the country of your iTunes Store, App Store, iBooks Store, or Mac App Store account - Apple Support -
Hey, I'm trying to download photoshop and lightroom for the subscription of $10 a month. but can't seem to get on the page for it. I keep getting a server error message, yet when I click the button to check their server it says everything is working fine. Any ideas?
Steveclack please see Error downloading Creative Cloud applications - http://helpx.adobe.com/creative-cloud/kb/error-downloading-cc-apps.html for information on how to resolve Error 207.
-
I am trying to run the latest Itunes update and I am getting 2 error messages:
Runtime error!
Program:C:\program files(x86)\itunes\itunes.exe
R6034
An application has made an attempt to load the C runtime library incorrectly
Please contact the applications support team for more information.
second message:
Itunes was not installed correctly, please reinstall Itunes.
Error 7( Windows error 1114)Hi 623connor,
Thanks for using Apple Support Communities. I would recommend trying a thorough reinstall of iTunes as described here:
Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
http://support.apple.com/kb/HT1923
Cheers,
- Ari -
I have an iphone 4 and an ipod touch on the same apple ID. My daughter who uses the ipod tried to change the apple ID on the ipod to be the same with her apple ID on her own Iphone so that she can use facetime on both devices. Not sure what she did but my 3G connection is no longer working.
Changing Facetime settings on an iPod will have no affect on cellular settings on an iPhone. Something else is going on there. If she did not change any settings on the phone, then nothing she did could affect your celluar 3G.
-
Trying to change the color of a single cell
hi, I am trying to change the color of a single cell when mouse moves over it, but couldn't do it. i even tried my own renderer, but it doesn't work. can anybody help ?
Here is what I am trying to do. I am displaying some data in a java JTable retrieved from a table in database. What is needed is when user moves his mouse over any cell in the third column, the cursor should change to hand cursor and possibly the background color should also change, to indicate the user that this cell is clickable. I have to show some other report when user clicks any cell in column three. The code follows as
import java.awt.*;
import java.sql.*;
import javax.swing.*;
import java.awt.event.*;
import javax.sql.rowset.*;
import javax.swing.table.*;
public class MouseMotionInTable extends JFrame
public static void main(String[] args)
MouseMotionInTable f = new MouseMotionInTable();
Toolkit tk = Toolkit.getDefaultToolkit();
Dimension dim = tk.getScreenSize();
int w = dim.width;
int h = dim.height;
f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
f.setBounds((w-600)/2, (h-300)/2, 600, 300);
f.setVisible(true);
MouseMotionInTable()
Connection con = null;
CachedRowSet crs = null;
try
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con = DriverManager.getConnection("jdbc:odbc:FMS", "", "");
Statement st = con.createStatement();
String query = "SELECT ItemName, Alias, ItemReOrderQuty, ItemMeasure FROM ItemInfo";
ResultSet rs = st.executeQuery(query);
crs = new com.sun.rowset.CachedRowSetImpl();
crs.populate(rs);
st.close();
catch (SQLException e)
e.printStackTrace();
catch (ClassNotFoundException e)
e.printStackTrace();
finally
if(con != null)
try
con.close();
catch (SQLException e)
e.printStackTrace();
DBTableModel model = new DBTableModel(crs);
table = new JTable(model);
JPanel center = new JPanel();
center.setLayout(new BorderLayout());
center.add(new JScrollPane(table), BorderLayout.CENTER);
add(center, BorderLayout.CENTER);
table.addMouseMotionListener(new MouseMotionAdapter()
public void mouseMoved(MouseEvent me)
int col = table.columnAtPoint(new Point(me.getX(), me.getY()));
int row = table.rowAtPoint(new Point(me.getX(), me.getY()));
if(col == 2)
Object val = table.getValueAt(row, col);
boolean isSelect = table.isCellSelected(row, col);
boolean focus = table.isCellSelected(row, col);
TableCellRenderer cellRender = table.getCellRenderer(row, col);
Component comp = cellRender.getTableCellRendererComponent(table, val, isSelect, focus, row, col);
comp.setCursor(new Cursor(Cursor.HAND_CURSOR));
comp.setBackground(Color.yellow);
private JTable table;
class DBTableModel extends AbstractTableModel
ResultSet rs;
ResultSetMetaData rsMeta;
DBTableModel(ResultSet rs)
try
this.rs = rs;
rsMeta = rs.getMetaData();
catch(SQLException e)
e.printStackTrace();
public int getColumnCount()
try
return rsMeta.getColumnCount();
catch(SQLException e)
e.printStackTrace();
return -1;
public String getColumnName(int c)
try
return rsMeta.getColumnName(c+1);
catch(SQLException e)
e.printStackTrace();
return "";
public int getRowCount()
try
rs.last();
return rs.getRow();
catch(SQLException e)
e.printStackTrace();
return -1;
public Object getValueAt(int r, int c)
try
rs.absolute(r+1);
return rs.getObject(c+1);
catch(SQLException e)
e.printStackTrace();
return "";
public boolean isCellEditable(int r, int c)
return false;
public Class getColumnClass(int c)
return getValueAt(0,c).getClass();
} -
Hi,
I'm trying to change email address on my Apple ID since the email registered for the account has been hacked and I can't access it anymore. The email I want to change to is connected to another Apple ID I created about 4 years ago, though I successfully changed the email on that account as well. So the email I would like to use for my main Apple ID shouldn't be "locked" anymore.
Though, when trying to change the email on my Apple ID I get an error message (in Swedish, so this is a direct translate from google): "This e-mail address is your email address for notification. It can not be used as the Apple ID or primary email. Choose a different address."
I'm not really sure what this means or how I can fix this. The email address is connected to my Ipad and Iphone for the email app, can that have anything to do with it?
If it makes any difference, I updated both my Ipad3 and Iphone4 to ios 7 today. I'm trying to change from my Macbook air though.
Please advise, would really appreciate a reply ASAP.caek1 wrote:
Hi,
I'm trying to change email address on my Apple ID since the email registered for the account has been hacked and I can't access it anymore. The email I want to change to is connected to another Apple ID I created about 4 years ago, though I successfully changed the email on that account as well. So the email I would like to use for my main Apple ID shouldn't be "locked" anymore.
Though, when trying to change the email on my Apple ID I get an error message (in Swedish, so this is a direct translate from google): "This e-mail address is your email address for notification. It can not be used as the Apple ID or primary email. Choose a different address."
I'm not really sure what this means or how I can fix this.
It means exactly what it says... The email Address is in Use. You cannot re-use it.
Apple ID Support > http://www.apple.com/support/appleid/ -
Hi,
Our PI is getting data from WebSphere MQ and pushing to SAP. So our sender CC is JMS and receiver is Proxy. Our PI version is 7.31.
Our connectivity between the MQ is success but getting the following error while trying to read the payload.
Text: TxManagerFilter received an error:
[EXCEPTION]
java.lang.NullPointerException: while trying to invoke the method java.lang.String.length() of an object loaded from local variable 'payload'
at com.sap.aii.adapter.jms.core.channel.filter.ConvertJmsMessageToBinaryFilter.filter(ConvertJmsMessageToBinaryFilter.java:73)
at com.sap.aii.adapter.jms.core.channel.filter.MessageFilterContextImpl.callNext(MessageFilterContextImpl.java:204)
at com.sap.aii.adapter.jms.core.channel.filter.InboundDuplicateCheckFilter.filter(InboundDuplicateCheckFilter.java:348)
at com.sap.aii.adapter.jms.core.channel.filter.MessageFilterContextImpl.callNext(MessageFilterContextImpl.java:204)
I have searched SDN but couldn't fix it. Please provide your suggestion.
With Regards
Amarnath MHi Amarnath,
Where exactly you are getting this error?
If you are getting at JMS Sender communication channel, try to stop and start the JMS communication channel and see the status, also use XPI Inspector to get the exact error log.
for reference follow below blogs:
Michal's PI tips: ActiveMQ - JMS - topics with SAP PI 7.3
Michal's PI tips: XPI inspector - help OSS and yourself
XPI Inspector -
Error when trying to change the Query in Bex??
Hi Gurus,
I have a query based on infocube. When I am trying to change the query, its giving me the error "This component was edited with a more recent version of Editor. You also have to use the more recent version to edit further. Further processing not possible. Update your front end".
Please help with this.Hi, I am actually stuck here. Can you please let me know which among these is the higher version.
1) Final Release 3.50
Version 3500.3.016
2) Final Release 3.50
Version (Revision 481)
Because it is working fine in the 1st one whereas its throwing that error pop-up in 2nd one(as soon as we select the Change query global definition option) . -
Help with oracle listner after trying to change the hostaname on Fedora 9
After searching high and low on the internet for help with this error I am coming here for a little assistance with this issue. A week ago I tried to change the hostname of my machine and the connection to my Db stopped working.
When I type lsnrctl status I get the following messages
TNS-12537: Tns Connection closed
TNS-12560: Tns protocol adapter error
TNS-00507 Tns connection closed
Linux Erro: 29 Illegal seek
Then when I try to run netca I get a java vm error sigsev. Can anyone provide assistance.
This is on an 11g installation
Thanks
Edited by: user5599027 on Jan 27, 2009 2:24 PMHere is my /etc/hosts file
>
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost localhost
192.168.0.195 localhost
Ive reverted everything in an attempt to get it back and running to no avail. And the user I am using is the same user that installed the product
>
-rwxr-x--- 1 ldhasty ldhasty 187 2007-05-08 00:03 shrept.lst
drwxr-x--- 2 ldhasty ldhasty 4096 2008-06-08 15:53 samples
-rwxr-x--- 1 ldhasty ldhasty 200 2008-06-08 16:01 sqlnet.ora
-rwxr-x--- 1 ldhasty ldhasty 379 2009-01-27 11:07 listener.ora
-rwxr-x--- 1 ldhasty ldhasty 322 2009-01-27 17:11 tnsnames.ora
>
-rwxr-x--- 1 ldhasty ldhasty 136437 2008-06-08 16:01 lsnrctl -
System preferences freezes when trying to change the date
Hey guys,
I've got a MacBook Pro running OSX 10.4.1. I'm having a problem with trying to change the time/date settings. Either going through the system preferences window or accessing it through clicking the clock in the top right and then 'open date & time', I get the spinning wheel and System Preferences crashes. Any ideas why?
Regards,
PhilYou are probably running 10.4.10 in as much as the MacBook pro's came out well after 10.4.1 was released. In any case try deleting the file com.apple.systempreferences.plist in your user/library/preferences folder.
-
Trying to change the Tab size of SQL Server 2008 R2 ?
Been trying to change the size of the tab but it just doesnt change!
Went to Tools-Options-Text Editor-Transact-SQL
From 2 to 1.
Any ideas?Hi Shavendra,
The Options dialog box lets you change the default behavior of the Database Engine Query Editor while you are programming Transact-SQL scripts. To display these settings, click Options on the Tools menu, expand the Text Editor folder, expand the Transact-SQL
subfolder and then click Tabs.
Tab size: Sets the distance in spaces between tab stops. The default is four spaces.
Reference: http://msdn.microsoft.com/en-us/library/bb895215.aspx.
Thanks,
Maggie
Please remember to mark the replies as answers if they help and unmark them if they provide no help. This can be beneficial to other community members reading the thread. -
I am trying to change the email address associated with my existing account to free up my university email address for use in obtaining Creative Cloud. Every time I go to the account settings of my existing account (which currently uses my university email, as I set it up years ago and had no idea it'd eventually cause problems), I enter a different email to use for that account but I continuously receive an error message saying "account changes cannot be saved." It makes me think that it's because the email isn't verified (funny, it actually is verified since it has been the alternate email on the old account for years), but when I click the "send verification email" nothing happens (that is, no email is sent to that other email address).
Anyway, my university is now requiring that faculty create new accounts using our university email addresses in order to register/use Creative Cloud. Am I able to delete my old account, or can anyone help me actually change the email address associated with my old account without getting a "changes can't be saved" error?This is an open forum, not Adobe support... you need Adobe support to help
Adobe contact information - http://helpx.adobe.com/contact.html
-Select your product and what you need help with
-Click on the blue box "Still need help? Contact us"
or
Make sure that EVERY DETAIL is the same in every place you enter your information
-right down to how you spell and punctuate the parts of your name and address
Change/Verify Account https://forums.adobe.com/thread/1465499 may help
-Credit card https://helpx.adobe.com/utilities/credit-card.html
-email address https://forums.adobe.com/thread/1446019
-http://helpx.adobe.com/x-productkb/global/didn-t-receive-expected-email.html -
I tried to change the file type of the movie, but now I am unable to open/edit it in iMovie, HELP !
Thank you very much! This is exactly what I was looking for.
I appreciate your time and effort in solving my question : ) -
Hi everyone! I tried to install the new iOs 7 on my iphone 4, but it wasn't completed (showing error 4005). Now, my iphone is stuck on the itunes' logo with the usb cord, and I can't use my phone. And itunes doesn't detect my iphone when I connect it on my computer, so I can't put it in recovery mode or someting like that... What can I do?? I tried everything they tell me to do in the apple support but nothing seems to work. Thank you!
No problem, glad to help!
Update: my PC USB hub was connected to a USB 3 port, I connected the 30 pin cable directly to my PC, And the restore worked just fine. Restored phone from iCloud backup and seems to be working fine.
Maybe you are looking for
-
Java Step Types with Java Virtual Machine higher than java-6u16?
Documentation of Java steps says, that these steps are tested with java version 6 update 16. I am talking about the java step types that can be found in directory <TestStand Public>\TestStand 2010\Examples\Java. If I install another java version, e
-
IPhone letters don't pop up when keys are pressed
You know how the letters pop up from under your finger when keys a pressed on the keyboard to let you know which key you press, well sometimes certain letters on my keyboard stop popping up. A restart fixes the key but a few minutes or hours (intermi
-
JDBC Receiver/Sender Adapter Error - HowTo?!
Hi guys, i have scenario JDBC2IDoc and back Well i have to connect to SQLServer 2000. Therefore i downloaded and deployed following drivers: sqljdbc.jar (for UNIX) msbase.jar mssqlserver.jar msutil.jar ojdbc14.jar Deployment worked fine so i configur
-
Is it possible to have an Mp3 audio file or a Video File play in an ePub on an iPad?
I am using ID CS5 on a Mac. I can Place audio and video in my eBook, but they do not show up on the pages of the iBook running on an iPad. Is there a way to embed audio and video in n epub so it will work on n iPad ?
-
HT204380 My camera is not working when it is facing me.
My camera is not working. It is frozen shut in the direction facing me, which also means my FaceTime is not working.