Worker Role problems (doesn't work without debugging)

Hello,
I upgraded the OS Version up to 3 last week and everything worked OK. But yesterday worker role stopped working. Windows Azure manager showed that service started up OK. I tried to find problem in code and found out that Worker Role works just great during
the debug only. 
Here is ServiceDefinition.csdef code:
<?xml version="1.0" encoding="utf-8"?>
<ServiceDefinition name="Workers" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition" schemaVersion="2013-03.2.0">
<WorkerRole name="EventsProcessor" vmsize="ExtraSmall">
<Startup>
<Task commandLine="startup\regeventsrc.cmd" executionContext="elevated" taskType="simple" /> <!-- Here is code: EVENTCREATE /L Application /T Information /ID 123 /SO "FSPLogging" /D "FSP Logging Enabled" -->
</Startup>
<Imports>
<Import moduleName="RemoteAccess" />
<Import moduleName="RemoteForwarder" />
</Imports>
<LocalResources>
<LocalStorage name="ZipContainer" cleanOnRoleRecycle="true" sizeInMB="12000" />
<LocalStorage name="CrashDumpsContainer" cleanOnRoleRecycle="false" sizeInMB="1024" />
</LocalResources>
</WorkerRole>
</ServiceDefinition>
Can someone please help? What should I check first?
Thanks!

Hi Alex,
Thank you for advice. I copied the exact connection string from the Azure Management Portal and Worker Role started to work.
Old connection string was:
   connectionString="Data Source=xxx.database.windows.net;Pooling=false;Initial Catalog={dbName}; User ID={userName}; Password={password};"
The new one is:
   connectionString="Server=tcp:xxx.database.windows.net,1433;Database={dbName};User ID={userName}@xxx;Password={password};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;"
Anyway sometimes (very rarely... once in a 2-3 hours) I get next error:
"System.Data.SqlClient.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: TCP Provider, error: 0 - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed
to respond.) ---> System.ComponentModel.Win32Exception (0x80004005): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond"
Probably do you have some ideas regarding this?
Thanks a lot
Alex

Similar Messages

  • My camera is not working. the app doesn't work

    Hi dear, My camera is not working. the app doesn't work: I'can't open the app either. It only works using skype, facing me. On the correct side is frozen. tks, bye, Federica

    Have you tried force quitting the Camera app? http://support.apple.com/kb/ht5137
    If that fails:
    Try doing a hard reset: Press and hold both the Home button and the Sleep/wake button simultaneously for about 15 seconds and release when the Apple logo appears. If that doesn't solve the issue, you could also try backing up the device and restoring the device as new. If that doesn't solve the issue, the device may need service.
    Follow the steps in: http://support.apple.com/kb/HT4137
    NB: set up as a NEW device because a software issue will be in the backup. If the issue persists after restoring as new, you should offer the device for service.
    If you're not able to restore the device, this one might help: http://support.apple.com/kb/HT1808
    Good luck

  • Upload working fine, download doesn't work

    Upload working fine, download doesn't work on my PC

    Sign in at OVI from a PC or laptop and Reinstall Ovi Store on your device.
    ‡Thank you for hitting the Blue/Green Star button‡
    N8-00 RM 596 V:111.030.0609; E71-1(05) RM 346 V: 500.21.009

  • How do I uninstall Firefox 4 & get previous version back? The new upgrade has problems & doesn't work for me.

    How do I uninstall Firefox 4 and get the previous version back?
    The upgrade has many problems and doesn't work for me.

    new version is the worst Firefox ever, no lip.

  • What's going on with ios8... Screen rotate does not work anymore, wifi doesn't work very well anymore and apps are crashing or running slow... Come on Apple sort this mess out

    ssince I updated my iPhone 5s to ios8 ive had nothing but problems...
    first the the screen rotation is not working... Checked the settings and  lock is off.... The wifi is intermittent, some times it works sometimes it doesn't....
    the he iPhone is really slow now, like really labouring.... It hangs and crashes all the time.... I have to close apps down completely because they won't work from quick launch anymore.... Even writing this the phone is labouring.... It's like my old 48k spectrum.... I don't expect this from Apple and when you spend £400-500 on a phone you expect it to work and play propperly....  come on Apple you need to sort out this mess of a update.... Ios 7 was no bother......

    Same issue here... iphone5S 64GB.  It's intermittent.  Sometimes the rotation works fine, sometimes it doesn't, but most of the time it doesn't work.
    The first time I figured out it wasn't working was when all newly-taken photos and videos were showing up in portrait mode though I always hold in landscape mode when photographing.
    Rotation lock is disabled (tried toggling it on and off).  Tried recalibrating the compass on a whim, no effect (although my compass seems to always require calibration when it's launched now).
    This issue only started happening after upgrading to iOS8.  I did a reset/restore through iTunes rather than an OTA upgrade.
    UPDATE - power-cycling the phone seems to fix it temporarily.

  • The screen doesn't work except on the bottom and i cant reboot it because my power button doesn't work, The screen doesn't work except on the bottom and i cant reboot it because my power button doesn't work

    I was in the middle of texting my mom and the screen stopped working! It only stopped working in the middle but i can't even turn it back on because my password numbers won't work when i touch them! I also cannot reboot my ipod because the power button doesn't work! I need help on fixing this problem please!!

    Try as best you can with broken button.:
    - iOS: Not responding or does not turn on
    Place the iPod in recovery mode using one of these programs:
    For PC
    RecBoot: Easy Way to Put iPhone into Recovery Mode
    If necessary:
    Download QTMLClient.dll & iTunesMobileDevice.dll for RecBoot
    For MAC or PC
    The Firmware Umbrella - TinyUmbrella
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       

  • Edit in Photoshop from Lightroom doesn't work; Automate Photomerge doesn't work

    Edit in Photoshop from Lightroom doesn't work.
    It opens the Photoshop application with all the menus/windows, but it never opens the actual image I chose to work on.
    Likewise,  I also can't automate>Photomerge ...  I pick all the images for the PHotomerge and hit "okay," but nothing happens.   Makes me think it's  Photoshop, not Lightroom, that is all wacky.
    I'm on a Mac, using OS X Yosemite, 10.10.1  Lightroom is version 5.7  Photoshop is CS5, version 12.0.4
    I uninstalled Photoshop CS5 and reinstalled. No change.  I also tried dumping PS preferences, but that didn't affect a thing, either.

    None of my "Edit In" worked with the pictures in Lightroom for a particular folder. I expanded the 2014 folder and found that two subfolders had a "?" in front of the 2014-07-04" and another. In other words, the folder was missing. After I found the missing folders using the Lightroom "Find Missing Folder" option, I was able to use the "Edit In" menu item. The 2014 folders weren't expanded at first, so I didn't see the ? marks in front of them. With the missing folders, Lightroom's "Edit In" option was basically telling me there was no picture to "Edit In." Howerver, I have Previews and Smart Previews made when I import picture files into Lightroom. So, the "pictures" showed in the slide strip on the bottom, and also in the display in "expand," but it was actually only showing the previews I had built, not the actual missing pictures in the missing folders. I had accidentally moved some directories using Windows Explorer, and I didn't realize my "happy fingers" moved them outside of Lightroom. Of course, Lightroom has no way of knowing I moved them, and just shows the "?" before the missing folder name. After expanding the root folder, then knew what to do. Fixed it easily. It was frustrating, and took about 20 minutes to see the problem. And that fixed the greyed-out "Edit In" Photoshop CC 2014, and all the other plug-ins were greyed out too.
    Hope this fixes your problem.
    Mike

  • Kebord light doesn't work, kebord light doesn't work

    i have apple mac book pro and its keybord's light turn off and light buttons(f5 and f6) doesn't work.
    please help me,how can i fix this problem
    best regards 
    selman h.

    Intel-based Macs: Resetting the System Management Controller (SMC)

  • Autoscaling Application block for Azure worker role console app not working. Get error as The HTTP request was forbidden with client authentication

    I have written a console application to test the WASABi(AutoScaling Application Block) for my worker role running in azure. The worker role processes the messages in the queue and I want to scale-up based on the queue length. I have configured and set the
    constraints and reactive rules properly. I get the following error when I run this application.
    [BEGIN DATA]{}
        DateTime=2013-12-11T21:30:02.5731267Z
    Autoscaling General Verbose: 1002 : Rule match.
    [BEGIN DATA]{"EvaluationId":"4f9f7cb0-fc0d-4276-826f-b6a5f3ea6801","MatchingRules":[{"RuleName":"default","RuleDescription":"The default constraint rule","Targets":["AutoscalingWebRole","AutoscalingWorkerRole"]},{"RuleName":"ScaleUpOnHighWebRole","RuleDescription":"Scale
    up the web role","Targets":[]},{"RuleName":"ScaleDownOnLowWebRole","RuleDescription":"Scale down the web role","Targets":[]},{"RuleName":"ScaleUpOnHighWorkerRole","RuleDescription":"Scale
    up the worker role","Targets":[]},{"RuleName":"ScaleDownOnLowWorkerRole","RuleDescription":"Scale down the worker role","Targets":[]},{"RuleName":"ScaleUpOnQueueMessages","RuleDescription":"Scale
    up the web role","Targets":[]},{"RuleName":"ScaleDownOnQueueMessages","RuleDescription":"Scale down the web role","Targets":[]}]}
        DateTime=2013-12-11T21:31:03.7516260Z
    Autoscaling General Warning: 1004 : Undefined target.
    [BEGIN DATA]{"EvaluationId":"4f9f7cb0-fc0d-4276-826f-b6a5f3ea6801","TargetName":"AutoscalingWebRole"}
        DateTime=2013-12-11T21:31:03.7516260Z
    Autoscaling Updates Verbose: 3001 : The current deployment configuration for a hosted service is about to be checked to determine if a change is required (for role scaling or changes to settings).
    [BEGIN DATA]{"EvaluationId":"4f9f7cb0-fc0d-4276-826f-b6a5f3ea6801","HostedServiceDetails":{"Subscription":"psicloud","HostedService":"rmsazure","DeploymentSlot":"Staging"},"ScaleRequests":{"AutoscalingWorkerRole":{"Min":1,"Max":2,"AbsoluteDelta":0,"RelativeDelta":0,"MatchingRules":"default"}},"SettingChangeRequests":{}}
        DateTime=2013-12-11T21:31:03.7516260Z
    Autoscaling Updates Error: 3010 : Microsoft.Practices.EnterpriseLibrary.WindowsAzure.Autoscaling.ServiceManagement.ServiceManagementClientException: The service configuration could not be retrieved from Windows Azure for hosted service with DNS prefix 'rmsazure'
    in subscription id 'af1e96ad-43aa-4d05-b3f1-0c9d752e6cbb' and deployment slot 'Staging'. ---> System.ServiceModel.Security.MessageSecurityException: The HTTP request was forbidden with client authentication scheme 'Anonymous'. ---> System.Net.WebException:
    The remote server returned an error: (403) Forbidden.
       at System.Net.HttpWebRequest.GetResponse()
       at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
       --- End of inner exception stack trace ---
    Server stack trace: 
       at System.ServiceModel.Channels.HttpChannelUtilities.ValidateAuthentication(HttpWebRequest request, HttpWebResponse response, WebException responseException, HttpChannelFactory`1 factory)
       at System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory`1 factory, WebException responseException, ChannelBinding channelBinding)
       at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
       at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
       at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs)
       at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
       at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
    If anyone know why I am getting this anonymous access violation error. My webrole is secured site but worker role not.
    I appreciate any help.
    Thanks,
    ravi
      

    Hello,
    >>: The service configuration could not be retrieved from Windows Azure for hosted service with DNS prefix 'rmsazure' in subscription id **************
    Base on error message, I guess your azure service didn't get your certificate and other instances didn't have certificate to auto scale. Please check your upload the certificate on your portal management. Also, you could refer to same thread via link(
    http://stackoverflow.com/questions/12843401/azure-autoscaling-block-cannot-find-certificate ).
    Hope it helps.
    Any question or result, please let me know.
    Thanks
    Regards,
    Will 
    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.

  • Puase dialing doesn't work, puase dialing doesn't work

    I have inserted "pause" but it doesn't work. 

    So, when you try to use voice dialing it never says "say a command..." ?
    1. Please thank those who help you by clicking the "Like" button at the bottom of the post that helped you.
    2. If your issue has been solved, please resolve it by marking the post "Solution?" which solved it for you!

  • OCI works but OCCI doesn´t work

    Hi,
    I am developing a component of a project to execute a pool of inserts to a DB.
    I installed the instant client 10g, headers and the occi for linux.
    When I execute the example of oci (cdemo81) it runs OK but when I execute the occi example occidml it crash and aborted.
    Do you have a suggestion why the OCCI doesn't´ work?
    Thanks,
    Mikel

    I try to execute the example 10g Release 1
    and I´ve got this error :(
    link.once ? Do you know what is happening?
    g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -O0 -g3 -Wall -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -c -o main.o `test -f 'main.cpp' || echo './'`main.cpp
    /bin/sh ../libtool silent mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -O0 -g3 -Wall -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -o oci main.o
    main.o(.gnu.linkonce.t._ZN8occicollC1ESsSsSs+0x44): In function `occicoll::occicoll(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
    /usr/include/c++/3.2.3/bits/stl_algo.h:298: undefined reference to `oracle::occi::Environment::createEnvironment(oracle::occi::Environment::Mode, void*, void* (*)(void*, unsigned int), void* (*)(void*, void*, unsigned int), void (*)(void*, void*))'
    main.o(.gnu.linkonce.t._ZN8occicollD1Ev+0x2e): In function `occicoll::~occicoll()':
    /home/vientoloco/nuevatel/oci/kdevelop/oci/oci/main.cpp:100: undefined reference to `oracle::occi::Environment::terminateEnvironment(oracle::occi::Environment*)'
    main.o(.gnu.linkonce.t._ZN8occicoll9insertRowEv+0x24f): In function `occicoll::insertRow()':
    /home/vientoloco/nuevatel/oci/kdevelop/oci/oci/main.cpp:180: undefined reference to `oracle::occi::setVector(oracle::occi::Statement*, unsigned int, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
    main.o(.gnu.linkonce.t._ZN8occicoll14displayAllRowsEv+0x1b9): In function `__gnu_cxx::__normal_iterator<std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > std::find<__gnu_cxx::__normal_iterator<std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >(__gnu_cxx::__normal_iterator<std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, __gnu_cxx::__normal_iterator<std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::random_access_iterator_tag)':
    /usr/include/c++/3.2.3/bits/stl_vector.h:916: undefined reference to `oracle::occi::getVector(oracle::occi::ResultSet*, unsigned int, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&)'
    main.o(.gnu.linkonce.t._ZN8occicoll9deleteRowEiSs+0x178):/usr/include/c++/3.2.3/bits/stl_vector.h:906: undefined reference to `oracle::occi::getVector(oracle::occi::ResultSet*, unsigned int, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&)'

  • Satellite A100 Hibernate / Standby wake up problems (doesn't work!)

    Hi,
    I have a Toshiba A100 Satellite PSAARA-055007 with Win XP Home SP3 and current updates.
    For the life of me, I cannot get this machine to successfully wake up from standby or hibernate!
    It goes into hibernate and standby just fine, but when you try to power it back up or take it out of hibernate or standby it seems to start waking up and then it just hangs without the display ever powering up. The only option is to hard boot the system.
    So at present Standby or Hibernate do not work at all.
    Anyone? Please help!

    >If it's a windows issue, where should I be looking?
    You are using Win XP?
    In such case you should check the Toshiba Power Saver tool.
    First of all you should reinstall this utility. As far as I know the Toshiba Power Saver controls the hibernation and standby mode
    But of course; this could not be related power saver but windows in such case just an new installation might be helpful

  • Purchase billed several times and report a problem doesn't work

    Hello I was trying to get 1 month subscription to a newspaper, got an error during the process. Now in the purchase history I see that the my purchase billed 5 times. Tried to follow the steps to report a problem, but when I click on the "report a problem" link next to the purchase it sends me to the iTunes Support page on the browser. Anybody knows what to do to get my money back?

    Same problem here, also on Snow Leopard, but I am not planning to move to Lion (I have it on another Mac and it doesn't seem worth upgrading to me...).
    Did you resolve the broken Report a problem?
    Worminger2

  • After applying SP15 Roles Tab doesn't work

    Hi,
    I just finished an EP 6.0 6.40 installation and applied SP15, and I am facing a problem. when I click on roles I get an IE error which is : Inernet explorer cannot open the site http://hostname:50000/irj/portal. I checked the other postings and people say they resolved this problem with SP15. Any idea?
    Thanks,
    Serkan

    Serkan,
    You upgraded from SP09 to SP15? NW2004s merges Roles into an Identity management tab/content. I'll check for you if there is a fix. Can you actually post the error message and find out if there is a specific entry on default.trc?
    Thanks.
    James

  • SAMSUNG CLX-216x Problem-Doesn't work. Won't show in printer set-up utility

    I have just purchased - yesterday afternoon in fact - a new Multi-Function SAMSUNG Color Lazer MFP CLX-216x - 3 in one Printer, Scanner, Copier.
    Although I was assured by the salesman that it would be compatible with a Mac, and it says as much on the box, I am experiencing problems which I have never experienced before when installing printers.
    After setting up the printer and turning it on I installed the drivers on my Macintosh MacBook Pro (Intel Core 2 Duo processor Running System OX.4.11). The printer is connected to an Apple AIRPORT with a USB Cable.
    However, my systems printer set up utility cannot seem to find the installed driver. Nor can it find the printer when connected directly to the MacBook
    I have tried the following.
    1. Uninstalling the software and re-installing it.
    2. Downloading drivers from the SAMSUNG website and installing them + updates of the other software (after uninstalling the older versions)
    3. Connected directly with a USB cable to the laptop
    4. Searched the manual and SAMSUNG website but can not find any help.
    Would you have any suggestions.
    Should I take the printer back as I've only just bough it.
    Thanks in advance,
    William Bell

    Hello William,
    When you have the printer connected directly to the MBP via USB, and you select to Add the printer, do you see the printer in the Default browser view? If you do not, then you may have a faulty USB cable or a faulty machine.
    To check the hardware, you can open System Profiler (Applications > Utilities) and look under the Hardware > USB view. The printer should be shown on one of the USB buses. If you do not see it, then I would try another USB cable first off. It could prove to be a quick fix, and if this is not the problem then it never hurts to have a spare USB cable.
    Regards,
    PaHu

Maybe you are looking for