Document not found. Excise posting not done or document is archived.

Hi,
I have created an order, delivery and billing document. Billing doc has been released to accounting. However though the accounting doc has been generated, the excise invoice is not generated and also BED, EDCESS & VAT amount not disable. When I was doing the Excise invoice (T code: j1iin) I got the following error
Modvat utilization done already for XXXXXX of Delivery No: XXXXX
Message no. 8I446
Diagnosis
  Modvat utilization done already for mentioned billing document
Procedure
  Check the billing document entered
If I click on display button after that I got error like
Document not found. Excise posting not done or document is archived.
Message no. 8I301
Diagnosis
The entered document number could not be found either because it is not
correct or the document has been archived
Procedure
Please check the entered document number
Plz help me what cud be the reason for that.
Regards
LVK

Dear LVK
Go to SE16, input Table J_1IEXCHDR and execute.  There input the excise invoice number and execute.  Check whether system is showing a document.  Alternatively, without giving any data in the above table, just give the excise invoice date and execute.  Check whether the said  excise invoice is stored in the table.
thanks
G. Lakshmipathi

Similar Messages

  • Payment Method supplement is not found while posting invoice thru' F-43

    Dear Gurus,
    I have configured Vendor Account group (OBD3) & created a vendor account (XK01).While posting thru' T code F-43,an error "Enter payment method supplement in line item 001" is found.But, payment method supplement field is not found while posting.Please solve my problem.

    hi ,
    In F-43 when you enter the document & posting date, company code, currency , And Vendor number PRESS ENTER it will take you to next screen There you can find the PAYMENT METHOD tab under invoice reference .
    hope this will help you .

  • A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (p

    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that
    the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)(Microsoft SQL Server, Error: 2)
    The system cannot find the file specified
    Cannot connect to COWBOYS.
    Here are the technical details===================================
    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider:
    Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (.Net SqlClient Data Provider)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&EvtSrc=MSSQLServer&EvtID=2&LinkId=20476
    Error Number: 2
    Severity: 20
    State: 0
    Program Location:
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
       at System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean withFailover)
       at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
       at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer
    timeout)
       at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance,
    SqlConnectionString userConnectionOptions, SessionData reconnectSessionData)
       at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
       at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
       at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
       at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
       at System.Data.SqlClient.SqlConnection.Open()
       at Microsoft.SqlServer.Management.SqlStudio.Explorer.ObjectExplorerService.ValidateConnection(UIConnectionInfo ci, IServerType server)
       at Microsoft.SqlServer.Management.UI.ConnectionDlg.Connector.ConnectionThreadUser()
    ===================================
    The system cannot find the file specified
    I have tried from so many forms. This is so frustrating. Thank for everyone/anyone who wants to help. So this is what happened: I had to uninstall my previous sqlserver 2012(which worked great) for some reason, and I uninstalled everything from that download.
    Then I installed the trial edition of sql server 2012 (64 Bit) and It wouldn't connect to the database. (Error mentioned above.) My local DB is COWBOYS. (COWBOYS is also my computer name.) After this, I have tried downloading sqlexpress and sqlserver 64bit
    many times and cannot connect to my local DB. 
    How do I connect to my Local DB? 
    Also, I think this might help: (When I run sqlserve.exe, which I was able to find in C:\Program Files\Microsoft SQL Server\110\LocalDB\Binn, I get an error: Your SQL server installation is either corrupt or has been tampered with(Error getting
    instance ID from name). Please uninstall then re-run setup to correct this problem.
    I would happily re install it, if it wasn't my 20th time.
    I don't have any remote connections, I don't use username/password, only window authentication. I work mostly on visual studio, but without able to store /retrieve data, I don't know how to survive.
    May be the solution is very simple, but I am too frustrated. 
    Some of the things I have tried:
    From a command prompt, enter one of the following commands:
    net start "SQL Server Agent (MSSQLSERVER)" OR 
    net start "SQL Server Agent(instancename)"(for instance)
    on my sql configuration, I cannot start anything because there is nothing there to start. I can post more details, if that would help. Also, some more details about the error:
    Details
    Product:
    SQL Server
    ID:
    2
    Source:
    MSSQLServer
    Version:
    10.0
    Component:
    SQLEngine
    Message:
    An error has occurred while establishing a connection to the server. When connecting to SQL Server, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error:
    40 - Could not open a connection to SQL Server) (.Net SqlClient Data Provider)
    Explanation
    SQL Server did not respond to the client request because the server is probably not started.
    User Action
    Make sure that the server is started.
    Version:
    9.0
    Component:
    SQLEngine
    Message:
    An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error:
    40 - Could not open a connection to SQL Server) (.Net SqlClient Data Provider)
    Explanation
    SQL Server did not respond to the client request because the server is probably not started.
    User Action
    Make sure that the server is started.
    Any one that can help me, I will be greatful. Thank you so much. p.s. please ask me anything if you have any questions.

    It sounds like there are a couple things going on here.  First check if you have a successful install of SQL Server, then we'll figure out the connection issues.
    Can you launch SQL Server Configuration Manager and check for SQL Server (MSSQLSERVER) if default instance or SQL Server (other name) if you've configured your instance as a named instance.  Once you find this, make sure the service is started. 
    If not started, try to start it and see if it throws an error.  If you get an error, post the error message your hitting.  If the service starts, you can then launch SSMS and try to connect.  If you have a default instance, you can use the machine
    name in the connection dialog.  Ex:  "COWBOYS" where Cowboys is the machine name.  However, if you named the SQL Server instance during install, you'll need to connect using the machine\instance format.  Ex:  COWBOYS\Romo (where Romo
    is the instance name you set during install).
    You can also look at the summary.txt file in the SQL Server setup error logs to see what happened on the most recent install.  Past install history is archived in the log folder if you need to dig those up to help troubleshoot, but the most
    recent one may help get to the bottom of it if there is an issue with setup detecting a prior instance that needs to be repaired.
    Thanks,
    Sam Lester (MSFT)
    http://blogs.msdn.com/b/samlester
    This posting is provided "AS IS" with no warranties, and confers no rights. Please remember to click
    "Mark as Answer" and
    "Vote as Helpful" on posts that help you. This can be beneficial to other community members reading the thread.

  • Since I downloaded Snow Leopard on my iMac, my HP all-in-one C7280 scanner will not work. It says "scanner not found, scanner could not be initialized".  Any ideas?

    Since I downloaded Snow Leopard on my iMac, my HP all-in-one C7280 scanner will not work. It says "scanner not found, scanner could not be initialized".  Any ideas?

    Hi,
    I suggest uninstalling the printer drivers from your HP printer. The go to System Preferences> Printer & Fax and in the printer list box go ahead and reset the printing system. Do that by right clicking over the printer list box ad the option should appear. After that close system preferences and reinstall your printer drivers from the HP CD. After installation check if your printer works as expected, if it does, stop here and ignore the rest of the message.
    If you don't have the install CDs for the printer or the previous step does not work; connect your printer to your Mac via USB and then again go to system preferences. Open the Print & Fax menu and in the printer list box you should see a "+" sign. Click on it, and a new window should appear with a list of printers that are available to you. If that's the case, go ahead click your printer name and wait for the computer to look in the Apple servers for the drivers. When searching is finished click the "install" button. This process will open software update and install the neccesary drivers.
    After that, you should be able to scan documents with the Preview App.
    For more information on the printing system in OS X Snow Leopard visit:
    http://support.apple.com/kb/HT3771
    Hope this helps!

  • Type was not found or was not a compile-time constant?

    Hi guys,
    I'm going nuts. I've got this movieclip that I made into a
    button with ActionScript. When clicked, it
    should go to a frame in my main timeline labeled "beansbus",
    but whenever I try to test the movie out, Flash
    gives me this error:
    1046: Type was not found or was not a compile-time constant:
    bus.
    I've looked around on the internet and I've been told that
    this error can
    crop up if the instance name is the same as a library object.
    That WAS the
    problem, but I renamed the library object to Cutebus, so that
    should have fixed it, I hope. There was another fix that involved
    something called TextFields in my movieclip, but I don't have
    those...
    My code looks like this, which was copied and pasted from an
    in-class tutorial that DOES work, with no problems.
    Thanks in advance for any light you can shed on this.

    actually the error:
    quote:
    TypeError: Error #1009: Cannot access a property or method of
    a null object reference. at
    beans_fla::MainTimeline/frame1()[beans_fla.MainTimeline::frame1:3]
    may not obviously give the line number at first
    glance, but it does! 'frame 1:3' refers to frame 1, line 3. which
    if your code post was accurate to line numbers, refers to:
    quote:
    bus.stop();
    so i'd suggest looking at your bus clip and
    ensuring that you have correctly defined its instance name. Also,
    make sure you have this correctly defined in each keyframe that the
    clip appears.

  • Premiere claims Media Cache directory was not found or is not writable.

    Premiere claims Media Cache directory was not found or is not writable. I then change the cache settings to an external drive then it crashes regardless of whether I open an existing file or create a new one. I've re-installed, deleted preferences etc. Often when it doesn't crash, it will say file was created in a newer version of Premiere Pro. Losing hair, please help?

    Okay! So, immediately after my last post, I solved the problem.
    I deleted the cache files in the default directory "C:\Users\"USERNAME"\AppData\Roaming\Adobe\Common"  then this stopped the crashing.
    There appears to have been updates via Creative Cloud so this must've caused dramas with the existing project files. So a fresh install + the deleting of the cache files, then the changed settings of Media cache locations seems to help.
    Thanks for those who tried to help!
    Cheers,
    Tom

  • Why when I tried to update itunes it crashed and now I get a MSVCR80.dll was not found and can not start my itunes any more

    Why when I tried to update itunes it crashed and now I get a MSVCR80.dll was not found and can not start my itunes any more?

    Solving the iTunes Installation Problems in Windows
    1. Apple has posted their solution here: iTunes 11.1.4 for Windows- Unable to install or open - MSVCR80 issue.
    2. If the Apple article does not fully resolve the problem for you, then try Troubleshooting issues with iTunes for Windows updates - MSVCR80.

  • Network controller& USB controller driver not found and wifi not working

    hello  I Purchased HP 15-ac025TX (M9V00PA) Notebook laptop  .  i have installed all driver from HP site here is the link  http://support.hp.com/in-en/drivers/selfservice/HP-15-Notebook-PC-series/7771404/model/8326084#Z7_3054ICK0KGTE30AQO5O3KA30R1  but still netwok controller driver not found also wifi not  working  i installed blutooth drivers too . I am using window 7 sp1 (32 bit) For network controller device ID is PCI\VEN_14E4&DEV_4365&SUBSYS_804A103C&REV_01 secondly  univeral serial bus driver(usb) controller   not found i installed all drivers from above link  also update windows  but still no solution hardware id of usb controller is PCI\VEN_8086&DEV_9CB1@SUBSYS_80C2103C&REV_03  and last i am unable to download  AMD/Intel Switchable High-Definition (HD) Graphics Driver. the download link not working KINDLY RESOLVE THE ISSUE THANK YOU    

    Update: While the driver I knew would work has not shown up yet, I did some detective work and explored some other broadcom wireless card driver folders from some HP links, and I found one that should work for you. While it says it is for HP desktop PC's, they put the exact same wireless card form factor in a desktop PC that they do in a notebook PC. I see no reason why this driver would not work, since the setup information file contains the same hardware ID that you posted.  Here is a partial copy and paste of the driver setup information file and you can see the hardware ID you posted is supported by this driver.  x86 - Win7
    [BROADCOM.NTx86.6.1]
        %BCM430N_DeviceDesc% = BCM43XNG_NT61, PCI\VEN_14E4&DEV_4365&SUBSYS_2230103C
        %BCM430N_DeviceDesc% = BCM43XNG_NT61, PCI\VEN_14E4&DEV_4365&SUBSYS_22D3103C       
        %BCM430N_DeviceDesc_HPY% = BCM43XNG_NT61, PCI\VEN_14E4&DEV_4365&SUBSYS_2232103C
        %BCM430N_DeviceDesc_HPY% = BCM43XNG_NT61, PCI\VEN_14E4&DEV_4365&SUBSYS_22D4103C
        %BCM430N_DeviceDesc_HPY% = BCM43XNG_NT61, PCI\VEN_14E4&DEV_4365&SUBSYS_804A103C http://h20566.www2.hp.com/hpsc/swd/public/detail?swItemId=cp_149257_1

  • Help! "1046: Type was not found or was not a compile-time constant:TimerEvent."

    I am getting the followiing error in my main document class:
    "1046: Type was not found or was not a compile-time constant:TimerEvent."
    It's showing in line 47 and 54 (in red below). Any help would be appreciated. BTW, this is my first time creating a main document class since graduating to class files!:
    package
        //**************** IMPORT STATMENTS *********************
        import flash.display.MovieClip;
        import com.greensock.TweenLite;
        import flash.utils.Timer;
        public class Main extends MovieClip
            //***************** Variables ***************************
            /*private var appStoreURL:URLRequest = new URLRequest("http://itunes.apple.com/us/artist/quackenworth/id518210161");
            private var facebookURL:URLRequest = new URLRequest("http://www.facebook.com/quackenworth");
            private var twitterURL:URLRequest = new URLRequest("http://www.twitter.com/quackenworth");*/
            private var MainScene:Main = new Main();
            private var PopUp_MoreApps:MoreApps_mc = new MoreApps_mc();
            private var PopUp_About:About_mc = new About_mc();
            //*****SPLASH SCREEN ***
            private var mc_timerSplash:Timer;
            private var splashScreen:mcSplashScreen;
            //*****************CONSTRUCTOR CODE ***********************************************************************************
            public function Main()
                mc_timerSplash = new Timer(3000,1);
                mc_timerSplash.addEventListener(TimerEvent.TIMER,  StartTimer);
                //When timer is finished stop the timer;
                mc_timerSplash.addEventListener(TimerEvent.TIMER_COMPLETE, timerCompleted);
                splashScreen = new mcSplashScreen();
                 addChild(splashScreen);
                splashScreen.x = stage.stageWidth / 2;
                splashScreen.y = stage.stageHeight / 2;
                mc_timerSplash.start();
            //*********** FUNCTIONS *********************************
            private function timerCompleted(e:TimerEvent):void
                    mc_timerSplash.stop();
                    mc_timerSplash = null;
            private function StartTimer(e:TimerEvent):void
                TweenLite.to(splashScreen, 1, {alpha:0, onComplete: SplashScreen});
            private function SplashScreen():void
                removeChild(splashScreen);
                addMainScene();
            private function addMainScene():void
                addChild(MainScene);
                MainScene.x = 489;
                MainScene.y = 350;
                //TweenLite.from(MainScene.wbbIntro_mc, .5, {alpha: 0});
                TweenLite.from(MainScene, 1, {alpha:0});
                TweenLite.to(MainScene.girls_mc, 1, {y:395, delay:.3});
                TweenLite.to(MainScene.boys_mc, .5, {y:396, delay: .6});
                TweenLite.to(MainScene.Joe_mc, .5, {y:339, delay: 1});
                TweenLite.to(MainScene.Paul_mc, .5, {y:322, delay:1.2});
            private function removeMainScene():void
                removeChild(MainScene);
                TweenLite.to(MainScene.girls_mc, .1, {y:690});
                TweenLite.to(MainScene.boys_mc, .1, {y:693});
                TweenLite.to(MainScene.Joe_mc, .1, {y:636});
                TweenLite.to(MainScene.Paul_mc, .1, {y:619});

    Now that the error is solved, when I test nothing happens. I just get a blank screen.
    What is supposed to happen? When the program opens a splash screen should be added for 3 seconds and then fade out. Then some main screen movie clips should be added to the stage.

  • Error 1046: Type was not found or was not a compile-time constant: Component Event.

    Hi Everyone..
    I am getting an Error 1046: Type was not found or was not a compile-time constant: Component Event.
    The ComponentEvent class has been imported,and also the event handling code is there. I am not sure what else is wrong, hope somebody can advise me. Thanks. The code is below, the point where the error occurs as indicated by the compiler has been highlighted.
    package 
    import flash.display.Sprite;
    import flash.media.Camera;
    import flash.media.Microphone;
    import flash.media.Video;
    import fl.controls.TextArea;
    import fl.controls.Button;
    import fl.controls.TextInput;
    import flash.events.SyncEvent;
    import flash.events.MouseEvent;
    import flash.events.FocusEvent;
    import flash.net.SharedObject;
    import flash.net.NetConnection;
    import flash.net.NetStream;
    import flash.events.NetStatusEvent;
    import flash.events.FocusEvent;
    import flash.events.ComponentEvent;
    public class VideoChat extends Sprite
      private var button:Button;
      private var text_so:SharedObject; 
      private var textArea:TextArea;
      private var textInput:TextInput;
      private var chatName:TextInput; 
      private var nc:NetConnection;
      private var nsOut:NetStream;
      private var nsIn:NetStream;
      private var rtmpNow:String;
      private var msg:Boolean; 
      private var cam:Camera;
      private var mic:Microphone;
      private var vid:Video;
      public function VideoChat ()
       //Set up UI
       textArea = new TextArea();
       textArea.setSize(500,280);
       textArea.move(20,54);
       addChild(textArea);
       textInput = new TextInput();
       textInput.setSize(500,24);
       textInput.move(20,340);
       textInput.addEventListener(ComponentEvent.ENTER,checkKey);
       addChild(textInput);
       button = new Button();
       button.width=50;
       button.label="Send";
       button.move(20,370);
       button.addEventListener(MouseEvent.CLICK, sendMsg);
       addChild(button);
       chatName = new TextInput;
       chatName.setSize (100,24);
       chatName.move (80,370);
       chatName.text="<Enter Name>";
       chatName.addEventListener (FocusEvent.FOCUS_IN, cleanName);
       addChild(chatName); 
       //Connect
       rtmpNow="rtmp:/VideoChat ";  
       nc=new NetConnection;
       nc.connect (rtmpNow);
       nc.addEventListener(NetStatusEvent.NET_STATUS,doSO);
       cam = Camera.getCamera();
       mic=Microphone.getMicrophone();
       //Camera Settings
       cam.setKeyFrameInterval(15);
       cam.setMode (240, 180, 15, false);
       cam.setMotionLevel(35,3000);
       cam.setQuality(40000 / 8,0);
       //Microphone Settings
       mic.gain = 85;
       mic.rate=11;
       mic.setSilenceLevel (25,1000);
       mic.setUseEchoSuppression (true);
       //Video Setup
       vid=new Video(cam.width, cam.height);
       addChild (vid);
       vid.x=10, vid.y=20;  
       //Attach local video and camera
       vid.attachCamera(cam);  
      private function doSO(e:NetStatusEvent):void
       good=e.info.code == "NetConnection.Connect.Success";
       if(good)
        //Set up shared object
        text_so=SharedObject.getRemote("test", nc.uri, false);
        text_so.connect (nc);
        text_so.addEventListener(SyncEvent.SYNC, checkSO);
      private function checkSO(e:SyncEvent):void
       for (var chung:uint; change<e.changeList.length; chng++)
        switch(e.chageList[chng].code)
         case "clear":
          break;
         case "success":
          break;
         case "change":
          textArea.appendText (text_so.data.msg + "\n");
          break;
      private function cleanName(e:FocusEvent): void
       chatName.text="";
      private function sendMsg(e:MouseEvent):void
       noName=(chatName.text=="<Enter Name>" || chatName.text=="");
       if (noName)
         textArea.appendText("You must enter your name \n");
       else
        text_so.setProperty("msg", chatName.text +": " + textInput.text);
        textArea.appendText (chatName.text +": "+textInput.text +"\n");
        textInput.text="";
      private function checkKey (e:ComponentEvent):void
       noName=(chatName.text=="<Enter Name>" || chatName.text=="");
       if (noName)
         textArea.appendText("You must enter your name \n");
       else
        text_so.setProperty("msg", chatName.text +": " + textInput.text);
        textArea.appendText (chatName.text +": "+textInput.text +"\n");
        textInput.text="";
      //Create NetStream instances
      private function checkConnect  (e:NetStatusEvent):void
       msg=e.info.code == "NetConnection.Connect.Success";
       if(msg)
        nsOut=new NetStream(nc);
        nsIn=new NetStream(nc);
        //NetStream
        nsOut.attachAudio(mic);
        nsOut.attachCamera(cam);
        nsOut.publish("camstream");
        nsIn.play("camstream");

    Hi Guys...
    I have found out what is wrong. I was importing the wrong package the correct one should have been:
    import fl.events.ComponentEvent;
    instead of
    import flash.events.ComponentEvent;
    I hope this is helpful for anyone caught in a simillar situation as me...Thanks..

  • A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible.

    Server Error in '/' Application.
    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Stack Trace:
    [SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)]
    System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +4846887
    System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +194
    System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject) +4860189
    System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject) +90
    System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart) +342
    System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance) +221
    System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance) +189
    System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) +185
    System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options) +31
    System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject) +433
    System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject) +66
    System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +499
    System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +65
    System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +117
    System.Data.SqlClient.SqlConnection.Open() +122
    System.Data.Common.DbDataAdapter.QuietOpen(IDbConnection connection, ConnectionState& originalState) +31
    System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +112
    System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +287
    System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) +92
    System.Web.UI.WebControls.SqlDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +1297
    System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +19
    System.Web.UI.WebControls.DataBoundControl.PerformSelect() +142
    System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +73
    System.Web.UI.WebControls.GridView.DataBind() +4
    System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +82
    System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls() +72
    System.Web.UI.Control.EnsureChildControls() +87
    System.Web.UI.Control.PreRenderRecursiveInternal() +44
    System.Web.UI.Control.PreRenderRecursiveInternal() +171
    System.Web.UI.Control.PreRenderRecursiveInternal() +171
    System.Web.UI.Control.PreRenderRecursiveInternal() +171
    System.Web.UI.Control.PreRenderRecursiveInternal() +171
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842
    Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082

    On what website/link did you received this error message ??

  • The server was not found or was not accessible.

    I've upgraded to a Windows 8.1 machine, and installed SQL Server 2012 (version 11.0.3128.0), and SQL Server Express 2008 R2 (v 10.0.5500.0).
    I've created a database in the 11.0.3128.0 instance, and populated it by restoring it from a .BAK from another server.
    I've opened Visual Studio 2012, and accessed the database via the Server Explorer, with no problem.
    I've copied a running web app to this same machine, and opened it in Visual Studio 2012.  But when I attempt to run in debug mode, my first attempt to access the database gives me this error: 
    "A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections.
    (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)"
    Here's my connection string, as defined in the <connectionStrings> section of my App.Config:
    <add name="EMSDataModelContainer"
    connectionString="metadata=res://*/EMSDataModel.csdl|res://*/EMSDataModel.ssdl|res://*/EMSDataModel.msl;provider=System.Data.SqlClient;provider connection string=&quot;Data Source=xps-8500;Initial Catalog=EMS;Integrated Security=True;multipleactiveresultsets=True;App=EntityFramework&quot;"
    providerName="System.Data.EntityClient" />
    Thanks in advance.

    Hello,
    Please read the following resources:
    http://blog.sqlauthority.com/2009/05/21/sql-server-fix-error-provider-named-pipes-provider-error-40-could-not-open-a-connection-to-sql-server-microsoft-sql-server-error/
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/20d8edf8-f36d-48ac-8623-c06e485448a3/i-have-a-problem-with-a-connection-to-database-sqlserver-2012?forum=sqlexpress
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • After restoring SharePoint farm backup ( The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connection)

    Hi,
    I have taken farm back and restore it in new UAT environment, while access to the main site getting the below error: 
    Error  
    An unexpected error has occurred. 
    Troubleshoot issues with Microsoft SharePoint Foundation. 
    Correlation ID: 866476f3-23dd-4e1e-97af-bffc62cc2d57 
    Date and Time: 7/15/2014 11:26:35 AM 
    When i checked in log i got below error
    System.Data.SqlClient.SqlException: A network-related or instance-specific
    error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40
    - Could not open a connection to SQL Server)    at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)     at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject
    stateObj)     at System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecu... 
    Thanks in advance
    Said Al Balushi

    Hi Wendy,
    i have checked all below points, every thing is fine but still i am getting the same error.
    Check SQL services are runing
    Check remote conenctions are enabled
    Check SQL Browser service is runing
    Check TCP/IP protocal enabled at SQL server
    Check out windows firewall setting
    Thanks,
    Said
     

  • Connecting to the LOB system has failed. A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is

    hi ,
    when generate the schema , i  got the below error, please any one put your inputs:
    Connecting to the LOB system has failed.  A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server
    is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server).

    thaks shanky,
    but facing another , after generate schema from  WCF_SQL, im unable get elements in my schema.
    this is schema generate from storeprocduer , but thru WCF-sql im unable get the elements like
    id, name
    <xsd:schema targetNamespace="urn:schemas-microsoft-com:sql:SqlRowSet2" xmlns:schema="urn:schemas-microsoft-com:sql:SqlRowSet2" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sqltypes="http://schemas.microsoft.com/sqlserver/2004/sqltypes" elementFormDefault="qualified">
      <xsd:import namespace="http://schemas.microsoft.com/sqlserver/2004/sqltypes" schemaLocation="http://schemas.microsoft.com/sqlserver/2004/sqltypes/sqltypes.xsd" />
      <xsd:element name="Test.dbo.sample">
        <xsd:complexType>
          <xsd:sequence>
            <xsd:element name="id" type="sqltypes:int" minOccurs="0" />
            <xsd:element name="name" minOccurs="0">
              <xsd:simpleType>
                <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
                  <xsd:maxLength value="1000" />
                </xsd:restriction>
              </xsd:simpleType>
            </xsd:element>
          </xsd:sequence>
        </xsd:complexType>
      </xsd:element>
    </xsd:schema>
    <Test.dbo.sample xmlns="urn:schemas-microsoft-com:sql:SqlRowSet2">
      <id>18</id>
      <name>BIRADAR</name>
    </Test.dbo.sample>
    <Test.dbo.sample xmlns="urn:schemas-microsoft-com:sql:SqlRowSet2">
      <id>18</id>
      <name>BIRADAR</name>
    </Test.dbo.sample>
    <Test.dbo.sample xmlns="urn:schemas-microsoft-com:sql:SqlRowSet2">
      <id>19</id>
      <name>sw</name>
    </Test.dbo.sample>
    <Test.dbo.sample xmlns="urn:schemas-microsoft-com:sql:SqlRowSet2">
      <id>18</id>
      <name>BIRADAR</name>
    </Test.dbo.sample>
    <Test.dbo.sample xmlns="urn:schemas-microsoft-com:sql:SqlRowSet2">
      <id>14</id>
      <name>swe</name>
    </Test.dbo.sample>
    <Test.dbo.sample xmlns="urn:schemas-microsoft-com:sql:SqlRowSet2">
      <id>13</id>
      <name>se</name>
    </Test.dbo.sample>

  • A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections.

    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The
    server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26- Error:Locating Server\instance Specified)
    How Can i solve this?

    1. Make sure SQL Server Service is running
    2. If a named instance, make sure SQL Server browser service is running
    3. Make sure SQL Server is configured to allow remote connections
    4. Examine the SQL Server error log for messages confirming that SQL is listening on the expected network interfaces and ports
    5. Test server connectivity with PING from the client machine
    6. Test port connectivity using TELNET or PowerShell to the server and port (from step 4) from the client machine.  For example
    a. TELNET <server-name> 1433
    b. PowerShell: 1433 | % { echo ((new-object Net.Sockets.TcpClient).Connect("YourServerName",$_)) "server listening on TCP port $_" }
    7. Check firewall settings if step 5 or 6 connectivity test fails
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

Maybe you are looking for