Website Upload to Hosting Company - SQL DB doens't work - Please help

I developed my first webpage using c#, VS2005 and SQL Express and it works fine in my Computer.
Tried to upload it to a hosting company, they have SQL 2005 Server.
I can surf through the pages but nothing that has to do with the database works.
Is there anything I should have done before uploading the site?
Please help.

This thread is 8 years old - there is no point to asking questions, regardless of whether you work for MS or not. 
If no one answers, you are correct. But if someone responds, then shouldn't they be the judge of whether or not their unanswered question is important enough to not be ignored?
Should someone ask a question for the community to ignore that question and never respond to it?
Ed Price, Power BI & SQL Server Customer Program Manager (Blog,
Small Basic,
Wiki Ninjas,
Wiki)
Answer an interesting question?
Create a wiki article about it!

Similar Messages

  • Iif() sql statement is not working please help. An expression of non boolean type specified the context

    the following sql is not working . If  sum(salary) = null   should be displayed  1 or 0
    select empname,iif((isnull(sum(salary),0)),1,0) from salary group by empname
    regards
    Pol
    polachan

    I think what you're looking at is this
    select e.empname,
    COALESCE(s.totalsal,0) as salary
    from employee e
    left join (select empname,sum(salary) as totalsal
    from salary
    group by empname
    )s
    on s.empname = e.empname
    where employee represents your master table containing employee information
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Hi, I am trying to convert my resume on pages to a word document.  When i export the file to to make it a word document ie(resume.doc) it messes up my whole resume on websites and pulls up a bunch of random words. Please help!

    Hi, I am trying to convert my resume on pages to a word document.  When i export the file to to make it a word document ie(resume.doc) it messes up my whole resume on websites and pulls up a bunch of random words. Please help!

    What exactly is the problem?
    Your description is so muddled I am having trouble working it out.
    How does your exported .doc file mess up websites? In fact what does it have to do with websites?
    Where, how and what are the random words turning up?
    Peter

  • I was filling a form online, then I got to where I had to upload an Microsoft document but when I clicked on upload document I only had the option of uploading photos and videos, but not Microsoft doc. Please help.... How do I upload Microsoft doc related

    I was filling a form online, then I got to where I had to upload a Microsoft document but when I clicked on upload document I only had the option of uploading photos and videos, but not Microsoft doc. Please help.... How do I upload Microsoft doc  and other related office documents?

    tis true
    I know, I always do that but I was in a rush to get somewhere and I was relying on my thousand dollar Mac to do some kind of recovery or something. I know Microsoft always keeps temporary files (I think Mac does too, part of me asking here in this forum was for someone to tell me where I can find those files) and when you go to open Office Works then it gives you the option of opening the last recent documents, saved or not saved.
    I usually copy paste into my emial just in case something goes wrong with the created document but I just didn't have the time to login and do all that My loss, you live and you learn, BUT still if ANYONE got any info on this, PLEASE DO CHIME IN *keeping the hope alive*

  • Any websites requiring security, electric company, banking, etc. are not working with 3.6.12. Tried to uninstall and reinstall an older version but they are still not working.

    I updated to the latest firefox about 3 weeks ago. I run version 3.6.12 on a Vista 32 Home Edition.
    I have not had this problem before but when I try to access my banking, pay my electric bill, purchase from different websites, pay my isp company, anything with security - most pages are having errors. My banking says I was logged out do to inactivity but I just signed on, other secure pages either say error or keep me in an infinite loop of answering the same pages over and over and cannot move forward.

    Hi thanks,
    amenzhisnky wrote:Try to downgrade xf86-video-intel package 1 version back, the last one seems to be buggy.
    The crash still happens when xf86-video-intel is downgraded. It also happens when the package is removed.
    Sekre wrote:
    Seems as if you are using glamor according to your X log. Have you perchance tested with UXA?
    I have had issues with SNA in the recent driver, but seems that switching to UXA and ditching all other options is a temporary workaround for me. Sadly this breaks VSync and introduces some tear, but I got rid of other nasties such as lock-ups and flickering.
    For extra info, we have different chips you and I, but it might be a common error.
    The problem is with the tty display crashing before I even get a chance to invoke X. I'll give UXA a go but I think the problem is in the i915 module of the kernel itself.

  • I cannot access a website, which i can otherwise access on my desktop. Please help., I cannot access a website, which i can access on my desktop. Please help.

    Hi community.
    My laptop is driving me crazy.
    It seems I cannot access my website (hosted by siteground.com) either the cpanel for it. Tried to access over WiFi or cable , and no success.
    However I can access the site, with any other device (desktop, android phone, ipad etc..)in the house,  both over wifi and cable.
    Have already spoken to my ISP company and they confirmed that everything is fine with the connection.
    Spoken to my hosting company and they confirmed that everything is fine from their side.
    I read on the forums, that  port80 may be closed ????  How do i do that and how do i unblock it.
    Already cleared the caches or all browser....
    What is the issue here ???
    Other wise , i can access any other site.
    Tha

    Step1
    Last login: Thu Dec 13 16:45:33 on console
    alex888-laptop:~ Alexandru$
    alex888-laptop:~ Alexandru$ kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}'
    com.rim.driver.BlackBerryUSBDriverInt (0.0.67)
    at.obdev.nke.LittleSnitch (3894)
    com.squirrels.driver.AirParrotSpeakers (1.7)
    com.squirrels.airparrot.framebuffer (3)
    com.logmein.hamachi (1.0)
    org.virtualbox.kext.VBoxDrv (4.2.1)
    org.virtualbox.kext.VBoxUSB (4.2.1)
    org.virtualbox.kext.VBoxNetFlt (4.2.1)
    org.virtualbox.kext.VBoxNetAdp (4.2.1)
    com.viscosityvpn.Viscosity.tap (1.0)
    com.viscosityvpn.Viscosity.tun (1.0)
    alex888-laptop:~ Alexandru$
    Step 2
    sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix)|edu\.mit|org\.(amavis|apache|cups|isc|ntp|postfi x|x)/{print $3}'
    WARNING: Improper use of the sudo command could lead to data loss
    or the deletion of important system files. Please double-check your
    typing when using sudo. Type "man sudo" for more information.
    To proceed, enter your password, or type Ctrl-C to abort.
    Password:
    com.zeobit.MacKeeper.plugin.AntiTheft.daemon
    com.zeobit.MacKeeper.AntiVirus
    com.winzip.WinZip-Mac
    com.vmware.launchd.vmware
    com.sharpcast.xfsmond
    com.sec.faxdb
    com.rim.BBDaemon
    com.microsoft.office.licensing.helper
    com.logmein.hamachi
    com.google.keystone.daemon
    com.freemacsoft.appcleanerdaemon
    com.equinux.VPNTracker6.agent
    com.barebones.textwrangler
    com.barebones.authd
    com.adobe.SwitchBoard
    com.adobe.fpsaud
    at.obdev.littlesnitchd
    alex888-laptop:~ Alexandru$
    Step 3
    launchctl list | sed 1d | awk '!/0x|com\.apple|edu\.mit|org\.(x|openbsd)/{print $3}'
    com.divx.dms.agent
    com.divx.update.agent
    com.rim.BBLaunchAgent
    com.google.keystone.system.agent
    com.adobe.CS5ServiceManager
    at.obdev.LittleSnitchUIAgent
    alex888-laptop:~ Alexandru$
    Step 4
    ls -1A /e*/mach* {,/}L*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Spo,Sta} * L*/Fonts 2> /dev/null
    /Library/Components:
    /Library/Extensions:
    VBoxDrv.kext
    VBoxNetAdp.kext
    VBoxNetFlt.kext
    VBoxUSB.kext
    com.equinux.VPNTracker6.kext
    ham.kext
    /Library/Frameworks:
    AEProfiling.framework
    AERegistration.framework
    Adobe AIR.framework
    AudioMixEngine.framework
    DivX Toolkit.framework
    Frameworks
    MacFUSE.framework
    NyxAudioAnalysis.framework
    PluginManager.framework
    RIM_VSP.framework
    RimBlackBerryUSB.framework
    Skype.framework
    StuffIt.framework
    StuffItCore.framework
    TSLicense.framework
    cisco-vpnclient.framework
    iTunesLibrary.framework
    /Library/Input Methods:
    /Library/Internet Plug-Ins:
    .DS_Store
    AdobePDFViewer.plugin
    CouponPrinter-FireFox_v2.plugin
    CouponPrinter-Safari.webplugin
    Disabled Plug-Ins
    DivXBrowserPlugin.plugin
    Flash Player.plugin
    Flip4Mac WMV Plugin.plugin
    Flip4Mac WMV Plugin.webplugin
    JavaAppletPlugin.plugin
    OVSHelper.plugin
    Quartz Composer.webplugin
    QuickTime Plugin.plugin
    RealPlayer Plugin.plugin
    SharePointBrowserPlugin.plugin
    SharePointWebKitPlugin.webplugin
    Silverlight.plugin
    TVUPlugin.webplugin
    flashplayer.xpt
    googletalkbrowserplugin.plugin
    iPhotoPhotocast.plugin
    npgtpo3dautoplugin.plugin
    nsIQTScriptablePlugin.xpt
    /Library/Keyboard Layouts:
    /Library/LaunchAgents:
    Wlan.Software
    at.obdev.LittleSnitchUIAgent.plist
    com.adobe.AAM.Updater-1.0.plist
    com.adobe.CS5ServiceManager.plist
    com.divx.dms.agent.plist
    com.divx.update.agent.plist
    com.google.keystone.agent.plist
    com.rim.BBLaunchAgent.plist
    /Library/LaunchDaemons:
    at.obdev.littlesnitchd.plist
    com.acclivity.fileconnect.plist
    com.adobe.SwitchBoard.plist
    com.adobe.fpsaud.plist
    com.barebones.authd.plist
    com.barebones.textwrangler.plist
    com.equinux.VPNTracker6.agent.plist
    com.freemacsoft.appcleanerdaemon.plist
    com.google.keystone.daemon.plist
    com.logmein.hamachi.plist
    com.microsoft.office.licensing.helper.plist
    com.rim.BBDaemon.plist
    com.sec.faxdb.plist
    com.sharpcast.xfsmond.plist
    com.vmware.launchd.vmware.plist
    com.winzip.WinZip-Mac.plist
    com.zeobit.MacKeeper.AntiVirus.plist
    com.zeobit.MacKeeper.plugin.AntiTheft.daemon.plist
    /Library/PreferencePanes:
    Archives.prefPane
    DivX.prefPane
    Flash Player.prefPane
    Flip4Mac WMV.prefPane
    Growl.prefPane
    JavaControlPanel.prefpane
    MacFUSE.prefPane
    Processor.prefPane
    /Library/PrivilegedHelperTools:
    Google Drive Icon Helper
    com.barebones.authd
    com.barebones.textwrangler
    com.equinux.VPNTracker6.agent
    com.equinux.VPNTracker6.connectiond
    com.microsoft.office.licensing.helper
    com.winzip.WinZip-Mac
    /Library/QuickLook:
    GBQLGenerator.qlgenerator
    ParallelsQL.qlgenerator
    StuffIt.qlgenerator
    VMware Fusion QuickLook.qlgenerator
    iBooksAuthor.qlgenerator
    iWork.qlgenerator
    /Library/QuickTime:
    AppleIntermediateCodec.component
    AppleMPEG2Codec.component
    DivX Decoder.component
    DivX Encoder.component
    Flip4Mac WMV Advanced.component
    Flip4Mac WMV Export.component
    Flip4Mac WMV Import.component
    /Library/ScriptingAdditions:
    Adobe Unit Types.osax
    /Library/Spotlight:
    GBSpotlightImporter.mdimporter
    Microsoft Office.mdimporter
    ParallelsMD.mdimporter
    iBooksAuthor.mdimporter
    iWork.mdimporter
    /Library/StartupItems:
    ExpressInvoice
    VirtualBox
    /etc/mach_init.d:
    /etc/mach_init_per_login_session.d:
    /etc/mach_init_per_user.d:
    Library/Address Book Plug-Ins:
    SkypeABDialer.bundle
    SkypeABSMS.bundle
    YMsgrCallABPlugin.bundle
    YMsgrMsnABPlugin.bundle
    YMsgrSmsABPlugin.bundle
    YMsgrYimABPlugin.bundle
    Library/Fonts:
    hondafont.ttf
    Library/Input Methods:
    .localized
    Library/Internet Plug-Ins:
    .DS_Store
    BrowserPlus_2.9.8.plugin
    EvernoteSafariClipperPlugin.webplugin
    FacebookVideoCalling.bundle
    Picasa.plugin
    doubleTwistWebPlugin.bundle
    Library/Keyboard Layouts:
    Library/LaunchAgents:
    com.Livestation.plist
    com.adobe.ARM.b54e099901f004714a7789082d2a5d9e54cc13ab5fbf867bd9c8299f.plist
    com.apple.AddressBook.ScheduledSync.PHXCardDAVSource.D23D4B3A-EE41-4252-9C00-790 A1FB8253E.plist
    [email protected]st
    com.apple.FolderActions.enabled.plist
    com.apple.FolderActions.folders.plist
    com.codecm.uploader.plist
    com.divx.agent.postinstall.plist
    com.facebook.videochat.Alexandru.plist
    com.google.Chrome.framework.plist
    com.logmein.CubbyService.plist
    com.macpaw.CleanMyMac.helperTool.plist
    com.macpaw.CleanMyMac.trashSizeWatcher.plist
    com.macpaw.CleanMyMac.volumeWatcher.plist
    com.mycube.vault.plist
    com.nchsoftware.expressinvoice.agent.plist
    com.zeobit.MacKeeper.Helper.plist
    de.metaquark.appfresh.plist
    org.virtualbox.vboxwebsrv.plist
    ws.agile.1PasswordAgent.plist
    Library/PreferencePanes:
    BrowserPlusPrefs.prefPane
    QuickTimeXPref.prefPane
    Library/ScriptingAdditions:
    1Password Addition.osax
    Library/Services:
    alex888-laptop:~ Alexandru$  
    Step 5
    osascript -e 'tell application "System Events" to get name of every login item' 2> /dev/null
    Jing (58671), Google Notifier, VMware Fusion Helper, Viscosity, CPU Speed Accelerator, Dropbox, WiTopia, SPanel, DaemonManager, BlackBerry Device Manager
    alex888-laptop:~ Alexandru$ 
    Thats all i am getting step by step...
    All you you wanted to see all together , here is enclosed bellow. thanks a lot for your help btw.
    Last login: Thu Dec 13 16:45:33 on console
    alex888-laptop:~ Alexandru$
    alex888-laptop:~ Alexandru$ kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}'
    com.rim.driver.BlackBerryUSBDriverInt (0.0.67)
    at.obdev.nke.LittleSnitch (3894)
    com.squirrels.driver.AirParrotSpeakers (1.7)
    com.squirrels.airparrot.framebuffer (3)
    com.logmein.hamachi (1.0)
    org.virtualbox.kext.VBoxDrv (4.2.1)
    org.virtualbox.kext.VBoxUSB (4.2.1)
    org.virtualbox.kext.VBoxNetFlt (4.2.1)
    org.virtualbox.kext.VBoxNetAdp (4.2.1)
    com.viscosityvpn.Viscosity.tap (1.0)
    com.viscosityvpn.Viscosity.tun (1.0)
    alex888-laptop:~ Alexandru$ sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix)|edu\.mit|org\.(amavis|apache|cups|isc|ntp|postfi x|x)/{print $3}'
    WARNING: Improper use of the sudo command could lead to data loss
    or the deletion of important system files. Please double-check your
    typing when using sudo. Type "man sudo" for more information.
    To proceed, enter your password, or type Ctrl-C to abort.
    Password:
    com.zeobit.MacKeeper.plugin.AntiTheft.daemon
    com.zeobit.MacKeeper.AntiVirus
    com.winzip.WinZip-Mac
    com.vmware.launchd.vmware
    com.sharpcast.xfsmond
    com.sec.faxdb
    com.rim.BBDaemon
    com.microsoft.office.licensing.helper
    com.logmein.hamachi
    com.google.keystone.daemon
    com.freemacsoft.appcleanerdaemon
    com.equinux.VPNTracker6.agent
    com.barebones.textwrangler
    com.barebones.authd
    com.adobe.SwitchBoard
    com.adobe.fpsaud
    at.obdev.littlesnitchd
    alex888-laptop:~ Alexandru$ launchctl list | sed 1d | awk '!/0x|com\.apple|edu\.mit|org\.(x|openbsd)/{print $3}'
    com.divx.dms.agent
    com.divx.update.agent
    com.rim.BBLaunchAgent
    com.google.keystone.system.agent
    com.adobe.CS5ServiceManager
    at.obdev.LittleSnitchUIAgent
    alex888-laptop:~ Alexandru$ ls -1A /e*/mach* {,/}L*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Spo,Sta} * L*/Fonts 2> /dev/null
    /Library/Components:
    /Library/Extensions:
    VBoxDrv.kext
    VBoxNetAdp.kext
    VBoxNetFlt.kext
    VBoxUSB.kext
    com.equinux.VPNTracker6.kext
    ham.kext
    /Library/Frameworks:
    AEProfiling.framework
    AERegistration.framework
    Adobe AIR.framework
    AudioMixEngine.framework
    DivX Toolkit.framework
    Frameworks
    MacFUSE.framework
    NyxAudioAnalysis.framework
    PluginManager.framework
    RIM_VSP.framework
    RimBlackBerryUSB.framework
    Skype.framework
    StuffIt.framework
    StuffItCore.framework
    TSLicense.framework
    cisco-vpnclient.framework
    iTunesLibrary.framework
    /Library/Input Methods:
    /Library/Internet Plug-Ins:
    .DS_Store
    AdobePDFViewer.plugin
    CouponPrinter-FireFox_v2.plugin
    CouponPrinter-Safari.webplugin
    Disabled Plug-Ins
    DivXBrowserPlugin.plugin
    Flash Player.plugin
    Flip4Mac WMV Plugin.plugin
    Flip4Mac WMV Plugin.webplugin
    JavaAppletPlugin.plugin
    OVSHelper.plugin
    Quartz Composer.webplugin
    QuickTime Plugin.plugin
    RealPlayer Plugin.plugin
    SharePointBrowserPlugin.plugin
    SharePointWebKitPlugin.webplugin
    Silverlight.plugin
    TVUPlugin.webplugin
    flashplayer.xpt
    googletalkbrowserplugin.plugin
    iPhotoPhotocast.plugin
    npgtpo3dautoplugin.plugin
    nsIQTScriptablePlugin.xpt
    /Library/Keyboard Layouts:
    /Library/LaunchAgents:
    Wlan.Software
    at.obdev.LittleSnitchUIAgent.plist
    com.adobe.AAM.Updater-1.0.plist
    com.adobe.CS5ServiceManager.plist
    com.divx.dms.agent.plist
    com.divx.update.agent.plist
    com.google.keystone.agent.plist
    com.rim.BBLaunchAgent.plist
    /Library/LaunchDaemons:
    at.obdev.littlesnitchd.plist
    com.acclivity.fileconnect.plist
    com.adobe.SwitchBoard.plist
    com.adobe.fpsaud.plist
    com.barebones.authd.plist
    com.barebones.textwrangler.plist
    com.equinux.VPNTracker6.agent.plist
    com.freemacsoft.appcleanerdaemon.plist
    com.google.keystone.daemon.plist
    com.logmein.hamachi.plist
    com.microsoft.office.licensing.helper.plist
    com.rim.BBDaemon.plist
    com.sec.faxdb.plist
    com.sharpcast.xfsmond.plist
    com.vmware.launchd.vmware.plist
    com.winzip.WinZip-Mac.plist
    com.zeobit.MacKeeper.AntiVirus.plist
    com.zeobit.MacKeeper.plugin.AntiTheft.daemon.plist
    /Library/PreferencePanes:
    Archives.prefPane
    DivX.prefPane
    Flash Player.prefPane
    Flip4Mac WMV.prefPane
    Growl.prefPane
    JavaControlPanel.prefpane
    MacFUSE.prefPane
    Processor.prefPane
    /Library/PrivilegedHelperTools:
    Google Drive Icon Helper
    com.barebones.authd
    com.barebones.textwrangler
    com.equinux.VPNTracker6.agent
    com.equinux.VPNTracker6.connectiond
    com.microsoft.office.licensing.helper
    com.winzip.WinZip-Mac
    /Library/QuickLook:
    GBQLGenerator.qlgenerator
    ParallelsQL.qlgenerator
    StuffIt.qlgenerator
    VMware Fusion QuickLook.qlgenerator
    iBooksAuthor.qlgenerator
    iWork.qlgenerator
    /Library/QuickTime:
    AppleIntermediateCodec.component
    AppleMPEG2Codec.component
    DivX Decoder.component
    DivX Encoder.component
    Flip4Mac WMV Advanced.component
    Flip4Mac WMV Export.component
    Flip4Mac WMV Import.component
    /Library/ScriptingAdditions:
    Adobe Unit Types.osax
    /Library/Spotlight:
    GBSpotlightImporter.mdimporter
    Microsoft Office.mdimporter
    ParallelsMD.mdimporter
    iBooksAuthor.mdimporter
    iWork.mdimporter
    /Library/StartupItems:
    ExpressInvoice
    VirtualBox
    /etc/mach_init.d:
    /etc/mach_init_per_login_session.d:
    /etc/mach_init_per_user.d:
    Library/Address Book Plug-Ins:
    SkypeABDialer.bundle
    SkypeABSMS.bundle
    YMsgrCallABPlugin.bundle
    YMsgrMsnABPlugin.bundle
    YMsgrSmsABPlugin.bundle
    YMsgrYimABPlugin.bundle
    Library/Fonts:
    hondafont.ttf
    Library/Input Methods:
    .localized
    Library/Internet Plug-Ins:
    .DS_Store
    BrowserPlus_2.9.8.plugin
    EvernoteSafariClipperPlugin.webplugin
    FacebookVideoCalling.bundle
    Picasa.plugin
    doubleTwistWebPlugin.bundle
    Library/Keyboard Layouts:
    Library/LaunchAgents:
    com.Livestation.plist
    com.adobe.ARM.b54e099901f004714a7789082d2a5d9e54cc13ab5fbf867bd9c8299f.plist
    com.apple.AddressBook.ScheduledSync.PHXCardDAVSource.D23D4B3A-EE41-4252-9C00-790 A1FB8253E.plist
    [email protected]st
    com.apple.FolderActions.enabled.plist
    com.apple.FolderActions.folders.plist
    com.codecm.uploader.plist
    com.divx.agent.postinstall.plist
    com.facebook.videochat.Alexandru.plist
    com.google.Chrome.framework.plist
    com.logmein.CubbyService.plist
    com.macpaw.CleanMyMac.helperTool.plist
    com.macpaw.CleanMyMac.trashSizeWatcher.plist
    com.macpaw.CleanMyMac.volumeWatcher.plist
    com.mycube.vault.plist
    com.nchsoftware.expressinvoice.agent.plist
    com.zeobit.MacKeeper.Helper.plist
    de.metaquark.appfresh.plist
    org.virtualbox.vboxwebsrv.plist
    ws.agile.1PasswordAgent.plist
    Library/PreferencePanes:
    BrowserPlusPrefs.prefPane
    QuickTimeXPref.prefPane
    Library/ScriptingAdditions:
    1Password Addition.osax
    Library/Services:
    alex888-laptop:~ Alexandru$   osascript -e 'tell application "System Events" to get name of every login item' 2> /dev/null
    Jing (58671), Google Notifier, VMware Fusion Helper, Viscosity, CPU Speed Accelerator, Dropbox, WiTopia, SPanel, DaemonManager, BlackBerry Device Manager
    alex888-laptop:~ Alexandru$ 
    alex888-laptop:~ Alexandru$

  • My First while loop inside PL/SQL block not working , please help

    Hi ,
    I am new to PL/sql and struck at PL SQL blocks , please help to solve this .
    declare
    v_A number constant :=10 ;
    j number constant := 3 ;
    BEGIN
    WHILE j < v_A
    LOOP
    DBMS_OUTPUT.PUT_LINE('Hai');
    END LOOP;
    END;
    please help as how to resolve this .
    Thanks in advance .

    btw it's a useful habit to use indentation to highlight the block structure. Also it's worth deciding what your convention will be for keywords (I use uppercase, lowercase is also fine as far as I'm concerned but I've set up my editor to uppercase them) and variables, database object names etc (I use lowercase), e.g:
    DECLARE
       v_a CONSTANT PLS_INTEGER := 10;
       j   CONSTANT PLS_INTEGER := 3;
       i PLS_INTEGER := j;
    BEGIN
       WHILE i <= v_a LOOP
          DBMS_OUTPUT.PUT_LINE(i);
          i := i +1;
       END LOOP;
    END;or perhapsdeclare
       v_a constant pls_integer := 10;
       j   constant pls_integer := 3;
       i pls_integer := j;
    begin
       while i <= v_a loop
          dbms_output.put_line(i);
          i := i +1;
       end loop;
    end;When I see "declare" and "BEGIN" in the same block of code I worry about the standard of code I'm going to see...

  • Trouble logging into sql using scott/tiger..please help..URGENT!!!

    hai friends!
    I installed D2K recently. Iam unable to login to sql (directly or from D2K forms) using the usual username/password..scott/tiger,system/manager,demo/demo. I get the following error message :
    TNS error: Unable to connect to destination
    Please help me out!
    thanX,
    raji

    what is your error number.
    Did you try to look up this number in the oracle error book?
    Usually you can also find the solution there.
    My bet is that your tnsnames.ora file is not set properly.

  • SQL*PLUS using START command - please help me to understand

    Hello dear friends,
    I met one issue that i can't understand. Could you please explain me what is wrong in my logic.
    I have created sql file called DUMMY.sql
    the file context is:
    SELECT dummy
    FROM dummy_tbl
    WHERE dummy_col=&dummy_var;
    I go to SQL*Plus DB version (10.2.0.4.0).
    I promt command: START DUMMY 1
    and expecting *&dummy_var* to be replaced with *1* and query be executed as it is described in Oracle SQL*PLUS reference ([http://download-west.oracle.com/docs/cd/B12037_01/server.101/b12170/ch6.htm#sthref1058|http://download-west.oracle.com/docs/cd/B12037_01/server.101/b12170/ch6.htm#sthref1058] ).
    But instead i'm getting Enter value for dummy_var:
    please help me to understand
    thanks in advance.

    You need to use &1 instead of &dummy_var.
    The number references the position of the parameter to use;&1 is the first parameter, &2 would be a second parameter and so on.
    SELECT dummy
    FROM dummy_tbl
    WHERE dummy_col=&1;

  • Can't upload Videos to Facebook.  Getting error message.  Please help!

    Hello,
    I've tried mulitiple times, but I can't upload a video to Facebook.  It goes through the whole process, and when it's done "uploading" it comes back with an Error Message - Unknown Error. 
    Please help!
    Thanks!

    TSO
    Thanks for the update.
    But, I would ask for clarification.
    I have never seen any Adobe posted limits for the Premiere Elements upload to Facebook feature, but....
    In the following online article posted about a year ago, the responder makes a distinction between Facebook
    unverified and phone-verified accounts.
    Unverified account limit = 100 MB 10 minutes
    Phone-verified account limit = 1024 MB 20 minutes
    Is there a limit to the size and the length of the video files that I can upload to Facebook? | Facebook Help Community …
    I suspect that the unverified account limit is what can be used in the Premiere Elements feature within the program
    and not the phone-verified one which can probably just be used for uploads to Facebook at the Facebook web site. But I do
    not know for sure at this time. There is a similar situation that exists with YouTube with its regular and extended time accounts
    and when and where you can use them. YouTube, I know first hand. I am not involved with Facebook in anyway.
    If that online article of over a year ago is correct for now....your 843 MB 3 minutes 45 seconds failed on file size if your account
    is one of those unverified ones. You could look into the Facebook phone-verified accounts to see if that resolves any of
    your Facebook issues.
    If you are exporting in Premiere Elements to a file saved to the hard drive for upload to Facebook at the Facebook web site, you might consider lowering the bitrate under the Advanced Button/Video Tab of the export preset to decrease the file size but still maintain quality.
    More later.
    ATR

  • On my first generation I pad I want to upload apps but they just delete straight away! Please help

    On my first generation I pad I want to upload apps but they just delete straight away! Please help

    App Store: Downloading Older Versions of Apps
    http://tinyurl.com/meqxplg
    App Store: Install the latest compatible version of an app
    http://support.apple.com/kb/ht5919
    Apple’s iOS App Store now offers ‘last compatible’ versions of apps for older devices
    http://appleinsider.com/articles/13/09/17/apples-ios-app-store-now-offers-last-c ompatible-versions-of-apps-for-older-devices
     Cheers, Tom

  • Oracle:JDBC Call returns no results, SQL*Plus returns 1 record, Please help

    Any help would be greatly appreciated.
    Running 9.2.0.5.0, and using latest 9.2 JDBC 1.4_g drivers in thin mode.
    Execute the following query from SQL*Plus and it returns one row, from JDBC using a PreparedStatement, I get no results. Here's the query, table def, record, etc.:
    Query:
    SELECT
    ID_WEB_FRM,ID_WEB_SIT,CDE_LVL_1_FUNC,
    CDE_LVL_2_FUNC,NUM_WEB_FUNC_PG,NUM_WEB_PG_ID
    FROM
    WEB_FRM
    WHERE
    ID_WEB_FRM = ' '
    OR
    (ID_WEB_SIT = 'test' AND CDE_LVL_1_FUNC = ' '
    AND CDE_LVL_2_FUNC = 'u2T' AND NUM_WEB_FUNC_PG = 1
    AND NUM_WEB_PG_ID = 0)
    Record returned from SQL*Plus:
    ID_WEB_FRM ID_WEB_SIT CDE CDE NUM_WEB_FUNC_PG NUM_WEB_PG_ID
    NfRRmc5XZu test u2T 1 0
    Both in the data returned and the query, there are no blanks, but they are a single space instead (hard to see in message here).
    Java code:
    int count = 1;
    findDBNameStatement.setString(count++," ");
    findDBNameStatement.setString(count++,form.getSiteID());
    findDBNameStatement.setString(count++," ");
    findDBNameStatement.setString(count++, form.getFunctionID());
    findDBNameStatement.setInt(count++,form.getPageNumber());
    findDBNameStatement.setInt(count++,form.getSectionNumber());
    ResultSet resultSet = findDBNameStatement.executeQuery();
    ResultSetMetaData metaData = resultSet.getMetaData();
    resultSet.next() returns false
    DB table:
    CREATE TABLE web_frm (
    ID_WEB_FRM varchar2(10) NOT NULL,
    ID_WEB_SIT varchar2(20) NOT NULL,
    NAM_WEB_FRM varchar2(40),
    TXT_EMAIL_SUBJ varchar2(50),
    CDE_LVL_1_FUNC char(3),
    CDE_LVL_2_FUNC char(3) NOT NULL,
    NUM_WEB_FUNC_PG int NOT NULL,
    NUM_WEB_PG_ID smallint NOT NULL,
    DTE_WEB_FRM_EFF date NOT NULL,
    DTE_WEB_FRM_TRM date,
    CDE_VLDT_RUL char(3),
    DTE_LAST_EXPRT date,
    TXT_CNFRMN_MSG varchar2(4000),
    IND_UPDT_ALWD char(1) NOT NULL,
    TXT_RECAP_HDR varchar2(4000),
    TXT_RECAP_FTR varchar2(4000),
    CDE_WEB_OBJ char(3),
    NUM_MAX_FRM_WIDTH number(4,0),
    IND_RECAP_PG char(1) NOT NULL,
    IND_CNFRM_PG char(1) NOT NULL,
    IND_DSPL_CNFRM_NUM char(1) NOT NULL,
    CNT_SUBM_MAX int,
    TXT_CHCE_ADD_MSG varchar2(255),
    TXT_CHCE_MOD_MSG varchar2(255),
    TXT_WEB_HDR varchar2(4000),
    TXT_WEB_FTR varchar2(4000),
    TXT_WAIT_LIST_MSG varchar2(255),
    FORMOBJECTHEIGHT int NOT NULL,
    FORMOBJECTWIDTH int NOT NULL
    ALTER TABLE web_frm ADD ( CONSTRAINT PK_web_frm PRIMARY KEY (ID_WEB_FRM));
    ALTER TABLE web_frm ADD ( CONSTRAINT UK_web_frm UNIQUE (ID_WEB_SIT,CDE_LVL_1_FUNC,CDE_LVL_2_FUNC,NUM_WEB_FUNC_PG,NUM_WEB_PG_ID)) ;
    Thanks,
    Matt

    That's not quite right. From the javadocs:
    next
    public boolean next()
    throws SQLException
    Moves the cursor down one row from its current position. A ResultSet cursor is initially positioned before the first row; the first call to the method next makes the first row the current row; the second call makes the second row the current row, and so on.
    If an input stream is open for the current row, a call to the method next will implicitly close it. A ResultSet object's warning chain is cleared when a new row is read.
    Returns:
    true if the new current row is valid; false if there are no more rows
    Throws:
    SQLException - if a database access error occurs

  • JDBC Call returns no results, SQL*Plus returns 1 record, Please help!

    Any help would be greatly appreciated.
    Running 9.2.0.5.0, and using latest 9.2 JDBC 1.4_g drivers in thin mode.
    Execute the following query from SQL*Plus and it returns one row, from JDBC using a PreparedStatement, I get no results. Here's the query, table def, record, etc.:
    Query:
    SELECT
    ID_WEB_FRM,ID_WEB_SIT,CDE_LVL_1_FUNC,
    CDE_LVL_2_FUNC,NUM_WEB_FUNC_PG,NUM_WEB_PG_ID
    FROM
    WEB_FRM
    WHERE
    ID_WEB_FRM = ' '
    OR
    (ID_WEB_SIT = 'test' AND CDE_LVL_1_FUNC = ' '
    AND CDE_LVL_2_FUNC = 'u2T' AND NUM_WEB_FUNC_PG = 1
    AND NUM_WEB_PG_ID = 0)
    Record returned from SQL*Plus:
    ID_WEB_FRM ID_WEB_SIT CDE CDE NUM_WEB_FUNC_PG NUM_WEB_PG_ID
    NfRRmc5XZu test u2T 1 0
    Both in the data returned and the query, there are no blanks, but they are a single space instead (hard to see in message here).
    Java code:
    int count = 1;
    findDBNameStatement.setString(count++," ");
    findDBNameStatement.setString(count++,form.getSiteID());
    findDBNameStatement.setString(count++," ");
    findDBNameStatement.setString(count++, form.getFunctionID());
    findDBNameStatement.setInt(count++,form.getPageNumber());
    findDBNameStatement.setInt(count++,form.getSectionNumber());
    ResultSet resultSet = findDBNameStatement.executeQuery();
    ResultSetMetaData metaData = resultSet.getMetaData();
    resultSet.next() returns false
    DB table:
    CREATE TABLE web_frm (
    ID_WEB_FRM varchar2(10) NOT NULL,
    ID_WEB_SIT varchar2(20) NOT NULL,
    NAM_WEB_FRM varchar2(40),
    TXT_EMAIL_SUBJ varchar2(50),
    CDE_LVL_1_FUNC char(3),
    CDE_LVL_2_FUNC char(3) NOT NULL,
    NUM_WEB_FUNC_PG int NOT NULL,
    NUM_WEB_PG_ID smallint NOT NULL,
    DTE_WEB_FRM_EFF date NOT NULL,
    DTE_WEB_FRM_TRM date,
    CDE_VLDT_RUL char(3),
    DTE_LAST_EXPRT date,
    TXT_CNFRMN_MSG varchar2(4000),
    IND_UPDT_ALWD char(1) NOT NULL,
    TXT_RECAP_HDR varchar2(4000),
    TXT_RECAP_FTR varchar2(4000),
    CDE_WEB_OBJ char(3),
    NUM_MAX_FRM_WIDTH number(4,0),
    IND_RECAP_PG char(1) NOT NULL,
    IND_CNFRM_PG char(1) NOT NULL,
    IND_DSPL_CNFRM_NUM char(1) NOT NULL,
    CNT_SUBM_MAX int,
    TXT_CHCE_ADD_MSG varchar2(255),
    TXT_CHCE_MOD_MSG varchar2(255),
    TXT_WEB_HDR varchar2(4000),
    TXT_WEB_FTR varchar2(4000),
    TXT_WAIT_LIST_MSG varchar2(255),
    FORMOBJECTHEIGHT int NOT NULL,
    FORMOBJECTWIDTH int NOT NULL
    ALTER TABLE web_frm ADD ( CONSTRAINT PK_web_frm PRIMARY KEY (ID_WEB_FRM));
    ALTER TABLE web_frm ADD ( CONSTRAINT UK_web_frm UNIQUE (ID_WEB_SIT,CDE_LVL_1_FUNC,CDE_LVL_2_FUNC,NUM_WEB_FUNC_PG,NUM_WEB_PG_ID)) ;
    Thanks,
    Matt

    I have verified the parameters and such, and if I run as a Statement instead of a PreparedStatement, the query works fine. After some more troubleshooting, I narrowed the problem down, but not sure of the fix.
    If I eliminate teh extra parameters and simplify things to:
    SELECT ID_WEB_FRM FROM WEB_FRM WHERE ID_WEB_SIT = 'test' AND CDE_LVL_2_FUNC = 'u2T' AND NUM_WEB_FUNC_PG = 1 AND NUM_WEB_PG_ID = 0
    The code works. But if I add the additional WHERE clause of CDE_LVL_1_FUNC = ' ' (has single space), it returns no data (record in the DB has single space in this new column. Query that does not work:
    SELECT ID_WEB_FRM FROM WEB_FRM WHERE ID_WEB_SIT = 'test' AND CDE_LVL_1_FUNC = ' ' AND CDE_LVL_2_FUNC = 'u2T' AND NUM_WEB_FUNC_PG = 1 AND NUM_WEB_PG_ID = 0
    It appears the JDBC Driver is trimming the parameter when it is a space when set through a PreparedStatement.setString(2," ")

  • On XP, and FF 5.0.1, but NONE of the graphics on ANY website are visible. Even the ICONS are empty. Please help!

    This came about since the newest version of Yahoo mail is acting oddly in IE8. It works fine in Mozilla, EXCEPT for the graphics problem. And if I go to any other websites (not just yahoo), they all have similar problems.

    If images are missing then check that you aren't blocking images from some domains.
    See:
    * http://kb.mozillazine.org/Images_or_animations_do_not_load
    * Check the permissions for the domain in the current tab in Tools > Page Info > Permissions
    * Check that images are enabled: Tools > Options > Content: [X] Load images automatically
    * Check the exceptions in Tools > Options > Content: Load Images > Exceptions
    * Check the "Tools > Page Info > Media" tab for blocked images (scroll through all the images with the cursor Down key).
    If an image in the list is grayed and there is a check-mark in the box "<i>Block Images from...</i>" then remove that mark to unblock the images from that domain.
    There are also extensions (Tools > Add-ons > Extensions) and security software (firewall, anti-virus) that can block images.
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • I cannot get a WindowsForms user control hosted in WPF/C# to show() PDF please help

    I have a WPF C# .NET 4.0. solution in VS2010 on Windows 7.   It contains a WPF hosting project and a WindowsFormsControl project where I've created a UserControl that should display an Acrobat CAcroAVDoc object from the Interop.Acrobat SDK com object (latest).
    The WPF Project contains this code to open a file which actually creates a new WindowsFormsUserControl (PDFViewerControl) that in turns opens the file, the UserControl is then added to a WindowsFormHost object in WPF main form.
    private void OpenFile(FileItem file)
    if (file.Extension.ToLower() == ".pdf")
      System.Windows.Forms.Integration.WindowsFormsHost host = new System.Windows.Forms.Integration.WindowsFormsHost();
      WindowsFormsControls.PDFViewerControl viewer = new WindowsFormsControls.PDFViewerControl();
      viewer.Show();
      Boolean result = viewer.OpenFile(file.Path);
      if (!result)
       MessageBox.Show("Error opening document");
      host.Child = viewer;
      this.pdfViewWpf.Children.Add(host);
      viewer.Show();
    The PDFViewerControl OpenFile method contains this code and returns True when opening a PDF document via OpenInWindowEx.
    public Boolean OpenFile(String filename)
    CAcroAVDoc doc = Activator.CreateInstance(Type.GetTypeFromProgID("AcroExch.AVDoc")) as CAcroAVDoc;
    bool res = doc.OpenInWindowEx(filename, this.Handle.ToInt32(), 2, 1, 0, (short)Acrobat.PDViewMode.PDUseBookmarks, (short)Acrobat.AVZoomType.AVZoomFitWidth, 0, 0, 0);
    return res;
    Unfortunately though the PDF cannot be seen in WPF Host object.  If I place a LABEL on the windows forms user control, the label will show in WPF.  It seems the OpenInWindowEx is not loading a PDF object onto the user control.  Perhaps I need a resize method and event?
    I cannot locate any object on the PDFViewerControl user control that resembles a PDF document through debug.
    Any help/pointers much appreciated.
    this.Handle.ToInt32() does have a seemingly valid value (ie window handle).
    this.pdfViewWpf is a XAML <Grid>
    Dominic

    On further testing, I found the above code does actually work, BUT the HOST or the VIEWER or the DOC object disappear after the routine is finished.  I placed a label on the UserControl and noticed a flicker on the crseen draw which I capture on camtasia the result can be viewed here.  http://www.screencast.com/t/Z49gUTb3Xt
    Given the label is still around after the file open routine completes suggests the HOST and VIEWER objects are still exposed, just the DOC object resizes to zero height and width or just plain gone.
    Without the Label, same result.
    Any thoughts on how to retain the display of the CAcroAVDoc object would be much appreciated.

Maybe you are looking for