Local Resource not being read from database

I created a Customer Resource Provider for my project. 
This provider is executing properly for Global resource requests (see sample #1 reference below). 
However, for Local resource references (see Sample #2 below), it is not loading anything.  Can anybody help out or spot what is wrong?
Sample #1:
<asp:Label
ID="lblAmount"
runat="server"
Text="<%$
Resources:TestResource, Total_Amount_is %>"></asp:Label
>
Sample #2:
<asp:TextBox
ID="txtMoney"
runat="server"
meta:resourcekey="txtMoneyResource1"></asp:TextBox>
Here is the Customer Provider code:
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Web;
using System.Web.Compilation;
using System.Globalization;
using System.Resources;
using System.Data;
using System.Data.SqlClient;
using System.Data.SqlTypes;
using System.Text;
using System.Diagnostics;
using System.Runtime.CompilerServices;
namespace Globalization_and_LocalizationV6
public sealed class SqlResourceProviderFactory : ResourceProviderFactory
public SqlResourceProviderFactory()
public override IResourceProvider CreateGlobalResourceProvider(string classKey)
return new SqlResourceProvider(null, classKey);
public override IResourceProvider CreateLocalResourceProvider(string virtualPath)
//virtualPath = System.IO.Path.GetFileName(virtualPath);
//virtualPath = virtualPath.Replace(HttpContext.Current.Request.ApplicationPath, "");//System.Web.VirtualPathUtility.ToAppRelative(virtualPath)
virtualPath = virtualPath.Replace(System.Web.VirtualPathUtility.ToAppRelative(virtualPath), "");
return new SqlResourceProvider(virtualPath, null);
}//End of Sealed Class called SqlResourceProviderFactory
internal class SqlResourceProvider : IResourceProvider
private string _virtualPath;
private string _className;
private IDictionary _resourceCache;
private static object CultureNeutralKey = new object();
public SqlResourceProvider(string virtualPath, string className)
_virtualPath = virtualPath;
_className = className;
private IDictionary GetResourceCache(string cultureName)
object cultureKey;
if (cultureName != null)
cultureKey = cultureName;
else
cultureKey = CultureNeutralKey;
if (_resourceCache == null)
_resourceCache = new ListDictionary();
IDictionary resourceDict = _resourceCache[cultureKey] as IDictionary;
if (resourceDict == null)
resourceDict = SqlResourceHelper.GetResources(_virtualPath, _className, cultureName, false, null);
_resourceCache[cultureKey] = resourceDict;
return resourceDict;
object IResourceProvider.GetObject(string resourceKey, CultureInfo culture)
string cultureName = null;
if (culture != null)
cultureName = culture.Name;
else
cultureName = CultureInfo.CurrentUICulture.Name;
object value = GetResourceCache(cultureName)[resourceKey];
if (value == null)
// resource is missing for current culture, use default
SqlResourceHelper.AddResource(resourceKey, _virtualPath, _className, cultureName);
value = GetResourceCache(null)[resourceKey];//How do you add a new item to the "list" inside this method? Or refresh the list with the updated data?
if (value == null)
// the resource is really missing, no default exists
SqlResourceHelper.AddResource(resourceKey, _virtualPath, _className, string.Empty);
return value;
IResourceReader IResourceProvider.ResourceReader
get
return new SqlResourceReader(GetResourceCache(null));
}//End of Sealed Class SqlResourceProvider
internal sealed class SqlResourceReader : IResourceReader
private IDictionary _resources;
public SqlResourceReader(IDictionary resources)
_resources = resources;
IDictionaryEnumerator IResourceReader.GetEnumerator()
return _resources.GetEnumerator();
void IResourceReader.Close()
IEnumerator IEnumerable.GetEnumerator()
return _resources.GetEnumerator();
void IDisposable.Dispose()
}//End of Sealed Class SqlResourceReader
internal static class SqlResourceHelper
public static IDictionary GetResources(string virtualPath, string className, string cultureName, bool designMode, IServiceProvider serviceProvider)
SqlConnection con = new SqlConnection(System.Configuration.ConfigurationManager.ConnectionStrings["ASPNETDB"].ToString());
SqlCommand com = new SqlCommand();
// Build correct select statement to get resource values
if (!String.IsNullOrEmpty(virtualPath))
// Get Local resources
if (string.IsNullOrEmpty(cultureName))
// default resource values (no culture defined)
com.CommandType = CommandType.Text;
com.CommandText = "select resource_name, resource_value" +
" from ASPNET_GLOBALIZATION_RESOURCES" +
" where resource_object = @virtual_path" +
" and culture_name is null";
com.Parameters.AddWithValue("@virtual_path", virtualPath);
else
com.CommandType = CommandType.Text;
com.CommandText = "select resource_name, resource_value" +
" from ASPNET_GLOBALIZATION_RESOURCES " +
"where resource_object = @virtual_path " +
"and culture_name = @culture_name ";
com.Parameters.AddWithValue("@virtual_path", virtualPath);
com.Parameters.AddWithValue("@culture_name", cultureName);
else if (!String.IsNullOrEmpty(className))
// Get Global resources
string strFinalCultureName = string.Empty;
if (String.IsNullOrEmpty(cultureName))
strFinalCultureName = string.Empty;
else
strFinalCultureName = cultureName;
com.CommandType = CommandType.Text;
com.CommandText = "select resource_name, resource_value " +
"from ASPNET_GLOBALIZATION_RESOURCES where " +
"resource_object = @class_name and" +
" culture_name = @culture_name ";
com.Parameters.AddWithValue("@class_name", className);
com.Parameters.AddWithValue("@culture_name", strFinalCultureName);
//if (string.IsNullOrEmpty(strFinalCultureName))
// // default resource values (no culture defined)
// com.CommandType = CommandType.Text;
// com.CommandText = "select resource_name, resource_value" +
// " from ASPNET_GLOBALIZATION_RESOURCES " +
// "where resource_object = @class_name" +
// " and culture_name is null";
// com.Parameters.AddWithValue("@class_name", className);
//else
// com.CommandType = CommandType.Text;
// com.CommandText = "select resource_name, resource_value " +
// "from ASPNET_GLOBALIZATION_RESOURCES where " +
// "resource_object = @class_name and" +
// " culture_name = @culture_name ";
// com.Parameters.AddWithValue("@class_name", className);
// com.Parameters.AddWithValue("@culture_name", cultureName);
else
// Neither virtualPath or className provided,
// unknown if Local or Global resource
throw new Exception("SqlResourceHelper.GetResources()" +
" - virtualPath or className missing from parameters.");
ListDictionary resources = new ListDictionary();
try
con.Open();
//SqlCommand _com = con.CreateCommand();
//_com.Connection = con;
//_com.CommandType = CommandType.Text;
//_com.CommandText = com.CommandText;
//_com.Parameters.AddRange(com.Parameters.AddRange(com.Parameters.Cast<System.Data.Common.DbParameter>().ToArray()););
//foreach (var Parameters in com.Parameters)
// _com.Parameters.
com.Connection = con;
SqlDataReader sdr = com.ExecuteReader(CommandBehavior.CloseConnection);
while (sdr.Read())
string rn = sdr.GetString(sdr.GetOrdinal("resource_name"));
string rv = sdr.GetString(sdr.GetOrdinal("resource_value"));
resources.Add(rn, rv);
catch (Exception e)
throw new Exception(e.Message, e);
finally
if (con.State == ConnectionState.Open)
con.Close();
return resources;
}//End of GetResources
public static void AddResource(string resource_name, string virtualPath, string className, string cultureName)
string resource_object = "UNKNOWN **ERROR**";
if (!String.IsNullOrEmpty(virtualPath))
resource_object = virtualPath;
else if (!String.IsNullOrEmpty(className))
resource_object = className;
string strFinalCultureName = string.Empty;
if (String.IsNullOrEmpty(cultureName))
strFinalCultureName = string.Empty;
else
strFinalCultureName = cultureName;
SqlConnection con = new SqlConnection(System.Configuration.ConfigurationManager.ConnectionStrings["ASPNETDB"].ToString());
SqlCommand com = new SqlCommand();
StringBuilder sb = new StringBuilder();
sb.Append("MERGE ASPNET_GLOBALIZATION_RESOURCES as trg " +
"using (values ('" + resource_object + "', '" + resource_name + "', '" + resource_name + " * DEFAULT * ', '" + strFinalCultureName + "')) " +
"as source (RESOURCE_OBJECT, RESOURCE_NAME, RESOURCE_VALUE, CULTURE_NAME) " +
"on " +
" trg.RESOURCE_OBJECT = '" + resource_object + "' " +
"and trg.RESOURCE_NAME = '" + resource_name + "' " +
"and trg.CULTURE_NAME = '" + strFinalCultureName + "' " +
"when matched then " +
"update " +
"set RESOURCE_VALUE = source.RESOURCE_VALUE " +
"when not matched then " +
"insert ( RESOURCE_OBJECT, RESOURCE_NAME, RESOURCE_VALUE, CULTURE_NAME) " +
"values ( source.RESOURCE_OBJECT, source.RESOURCE_NAME, source.RESOURCE_VALUE, source.CULTURE_NAME);");
com.CommandText = sb.ToString();
//sb.Append("insert into ASPNET_GLOBALIZATION_RESOURCES " +
// "(resource_name ,resource_value," +
// "resource_object,culture_name ) ");
//sb.Append(" values (@resource_name ,@resource_value," +
// "@resource_object,@culture_name) ");
//com.CommandText = sb.ToString();
//com.Parameters.AddWithValue("@resource_name", resource_name);
//com.Parameters.AddWithValue("@resource_value", resource_name +
// " * DEFAULT * " +
// (String.IsNullOrEmpty(cultureName) ?
// string.Empty : cultureName));
//com.Parameters.AddWithValue("@culture_name", (String.IsNullOrEmpty(cultureName) ? SqlString.Null : cultureName));
//string resource_object = "UNKNOWN **ERROR**";
//if (!String.IsNullOrEmpty(virtualPath))
// resource_object = virtualPath;
//else if (!String.IsNullOrEmpty(className))
// resource_object = className;
//com.Parameters.AddWithValue("@resource_object", resource_object);
try
com.Connection = con;
con.Open();
com.ExecuteNonQuery();
catch (Exception e)
throw new Exception(e.ToString());
finally
if (con.State == ConnectionState.Open)
con.Close();
}//End of AddResource
public static IDictionary AASearch(List<Dictionary<string, object>> testData, Dictionary<string, object> searchPattern)
return testData.FirstOrDefault(x => searchPattern.All(x.Contains));
}//End of Class SqlResourceHelper
}//End of Namespace Globalization_and_LocalizationV6

Hi Daniel Rose01,
Based on your description, this issue is related to the Web development, am I right?
Since the ASP.NET has his own support forums, so if it is related to the web project, I suggest you post this issue to the ASP.NET forum, and there you would get dedicated support.
The forum link:
http://forums.asp.net/
Best Regards,
Jack
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Ejb jars not being read from application.xml

    Hello. If somebody wouldn't mind reading this, I've been wrestling wiht this most of the day. I have a coupe of entity ejbs and a stateless session ejb, each packed into it's own jar. When I deploy the ear, the war deploys fine but the three ejb jar files are not read as per the application.xml. As a test, I put the jars into the default server lib directory and after I did that, the enterpise app launched as expected. I can't figure out why the server, resin 3.0.12, is not able to see these ejb jars. I've tried to add the directory after deployment to the classpath in the autoexec.bat but no dice. I've moved the ejb jars around into subdirectories and modified the application.xml accordingly but to no avail. I've also looked into the server configuration file but resin doesn't seem to have any taggings within it's ejb server tag that would dictate where the container would look for jar or class files. Does anybody have any ideas what this could be?...this is the application.xml...pretty straightforward...the ejb jars are located in the root of the ear...
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!DOCTYPE web-app (View Source for full doctype...)>
    - <application>
    <display-name>MyApp</display-name>
    - <module>
    <ejb>cn.jar</ejb>
    </module>
    - <module>
    <ejb>cnf.jar</ejb>
    </module>
    - <module>
    <ejb>cni.jar</ejb>
    </module>
    - <module>
    - <web>
    <web-uri>nctims.war</web-uri>
    <context-root>/nctims</context-root>
    </web>
    </module>
    </application>
    Thank you very much for taking your time to read my post.

    Hello. Thank you very much for the reply.
    Yeah, application.xml is sitting in META-INF. The war referenced wihtin application.xml deploys fine...the container jsut seems to ignore the <module><ejb>..</ejb></module> tags when it reads the ejb deployment descriptors and tries to locate the classes. I've tried everything...shouldn't application.xml take care of all class-loader issues with the module references? Thank you again to everybody reading this or whatever.

  • I just updated my iPhone 5 from virgin mobile to ios7, and upon the normal setup i find that i my sim card is not being read; apparently now it isn't supported. please someone help me.

    I just updated my iPhone 5 from virgin mobile to ios7, and upon the normal setup i find that i my sim card is not being read; apparently now it isn't supported. please someone help me.

    my iphone is and has been locked to one carrier. all i've done is a software update to ios7, like all the other updates since i bought the phone when it was released. same carrier, same sim card. :/

  • SQL Server 2005 Database Mail - Mail configuration information could not be read from the database.

    I'm trying to setup Database Mail and send a test message, but it's not working.
    I've done several step-by-steps and all and I can't get it to work. Also checked several posts in this forum but none helped. I think it used to work before (2 months ago) but we had to turn it off.
    I've enabled it in Surface Configuration, have tried recreating all profiles, restarted SQL Agent, checked version mismatch...
    I check the Database Mail and I get the following message:
    Log Database Mail (Database Mail Log)
    Log ID 152
    Process ID 7684
    Last Modified 3/14/2013 6:49:58 PM
    Last Modified By SPEEDLING\sqlservice
    Message
    1) Exception Information
    ===================
    Exception Type: Microsoft.SqlServer.Management.SqlIMail.Server.Common.BaseException
    Message: Mail configuration information could not be read from the database.
    Data: System.Collections.ListDictionaryInternal
    TargetSite: Microsoft.SqlServer.Management.SqlIMail.Server.Objects.Account GetAccount(Int32)
    HelpLink: NULL
    Source: DatabaseMailEngine
    StackTrace Information
    ===================
       at Microsoft.SqlServer.Management.SqlIMail.Server.DataAccess.DataAccessAdapter.GetAccount(Int32 accountID)
       at Microsoft.SqlServer.Management.SqlIMail.Server.Controller.CommandFactory.CreateSendMailCommand(DBSession dbSession)
       at Microsoft.SqlServer.Management.SqlIMail.Server.Controller.CommandRunner.Run(DBSession db)
       at Microsoft.SqlServer.Management.SqlIMail.IMailProcess.ThreadCallBack.MailOperation(Object o)
    2) Exception Information
    ===================
    Exception Type: System.IndexOutOfRangeException
    Message: timeout
    Data: System.Collections.ListDictionaryInternal
    TargetSite: Int32 GetOrdinal(System.String)
    HelpLink: NULL
    Source: System.Data
    StackTrace Information
    ===================
       at System.Data.ProviderBase.FieldNameLookup.GetOrdinal(String fieldName)
       at System.Data.SqlClient.SqlDataReader.GetOrdinal(String name)
       at System.Data.SqlClient.SqlDataReader.get_Item(String name)
       at Microsoft.SqlServer.Management.SqlIMail.Server.DataAccess.DataAccessAdapter.GetAccount(Int32 accountID)

    I'm trying to setup Database Mail and send a test message, but it's not working.
    I've done several step-by-steps and all and I can't get it to work. Also checked several posts in this forum but none helped. I think it used to work before (2 months ago) but we had to turn it off.
    I've enabled it in Surface Configuration, have tried recreating all profiles, restarted SQL Agent, checked version mismatch...
    I check the Database Mail and I get the following message:
    Log
    Database Mail (Database Mail Log)
    Log ID
    152
    Process ID
    7684
    Last Modified
    3/14/2013 6:49:58 PM
    Last Modified By
    SPEEDLING\sqlservice
    Message
    1) Exception Information
    ===================
    Exception Type: Microsoft.SqlServer.Management.SqlIMail.Server.Common.BaseException
    Message: Mail configuration information could not be read from the database.
    Data: System.Collections.ListDictionaryInternal
    TargetSite: Microsoft.SqlServer.Management.SqlIMail.Server.Objects.Account GetAccount(Int32)
    HelpLink: NULL
    Source: DatabaseMailEngine
    StackTrace Information
    ===================
       at Microsoft.SqlServer.Management.SqlIMail.Server.DataAccess.DataAccessAdapter.GetAccount(Int32 accountID)
       at Microsoft.SqlServer.Management.SqlIMail.Server.Controller.CommandFactory.CreateSendMailCommand(DBSession
    dbSession)
       at Microsoft.SqlServer.Management.SqlIMail.Server.Controller.CommandRunner.Run(DBSession db)
       at Microsoft.SqlServer.Management.SqlIMail.IMailProcess.ThreadCallBack.MailOperation(Object o)
    2) Exception Information
    ===================
    Exception Type: System.IndexOutOfRangeException
    Message: timeout
    Data: System.Collections.ListDictionaryInternal
    TargetSite: Int32 GetOrdinal(System.String)
    HelpLink: NULL
    Source: System.Data
    StackTrace Information
    ===================
       at System.Data.ProviderBase.FieldNameLookup.GetOrdinal(String fieldName)
       at System.Data.SqlClient.SqlDataReader.GetOrdinal(String name)
       at System.Data.SqlClient.SqlDataReader.get_Item(String name)
       at Microsoft.SqlServer.Management.SqlIMail.Server.DataAccess.DataAccessAdapter.GetAccount(Int32 accountID)

  • NsBlocklistservice.js being read from Bootcamp drive

    while running my snow leopard, using firefox 12 it produced an error of a non-responsive script has stopped. the script is "nsBlocklistservice.js. When I searched for the script I was not able to find it on my Local Apple snow leopard drive. But when I did a complete search of my entire drive it found the nsBlocklistservice.js file on my bootcamp drive. The boot camp drive is a read only drive and the file was being read from my Apple snow leopard OS side.
    Is there a way of restricting reading the boot camp drive?

    Hi! It's a miracle that I found your question on this discussion because THE SAME THING IS HAPPENING TO ME. It only started today. sometimes the disks keep ejecting after making some "noise" and other times they get stuck in there and I have to restart my Powerbook G4 (15") to get it to eject. I tried to repair the disk, but it won't let me and I can't get my disk warrior to stay in to check it. Will it need repair or replacement? What does it cost? Where do I take it? I live in Albuquerque and I think a new Apple store is opening here soon...should I take it there or to Comp USA or another "authorized dealer".
    I'm telling you, I have used Macs since the BEGINNING (70s!); I currently own THREE Macs and I've NEVER had this problem! This computer is only a little over a year old! yikes! Thanks for answering my questions. I appreciate it.

  • Ipod not being read and freezing

    When I plug my ipod into my computer, it goes to "do not disconnect" but not the flashing do not disconnect. Its frozen. My computer wont read it. So I unplug it and its frozen. I know how to restart it but that doesnt help me from when it freezes again once I hook it up. How do I stop it from freezing and not being read. Thanks

    i am having a similar problem with my 4g 20G
    it freezes when i try to update. i thought maybe it was the latest version of itunes i recently installed but i reverted back to an old updater version and itunes 6 and while i was able to get 300 songs on the ipod without freezing, when i tried to put the rest of my library on there it freezes. i've even tried to put as little as 15 songs on at a time and that still freezes the ipod.
    i have a mac powerbook with macos 10.2

  • I tunes: when trying to burn a playlist I keep getting the message: the attempt to burn a disc failed. The disc could not be read from or written to. I am using version 12

    I tunes: I am using version 12 of I tunes. Ever since downloading it I get the message when trying to burn a playlist it says, The attempt to burn a disc failed. The disc could not be read from or written to.
    I uninstalled V-12 and then reinstalled it. This enabled me to burn a disc again but after a couple of tries I received the same error message again. Has Apple put out a fix to this problem that anyone is aware of?
    Thanks.

    Hi rossfrombluffton,
    Welcome to the Support Communities!  The resource below provides some general things to consider when burning a disc with iTunes.  I would also try burning a music CD and a data disc from a different application in the Windows OS and trying a different brand CD just to confirm the issue is not with the optical drive.
    Can't burn a CD in iTunes for Windows - Apple Support
    http://support.apple.com/en-ae/HT203173
    Find out what to do if you can't burn an audio CD using iTunes for Windows. Sometimes an audio disc may not burn as expected. Here are some things to check.
    Update iTunes
    Download and install the latest version of iTunes for Windows.Check for unauthorized songs
    iTunes will stop burning a disc if you purchased one or more of the songs in a playlist from the iTunes Store and the songs aren't authorized to play on your computer. This message should appear: "Some of the files can not be burned to an audio CD. Do you still want to burn the remainder of this playlist? For more information on why some files can not be burned, click below."
    To find out which songs aren't authorized, play each song in the playlist. Songs that play are authorized. Songs that don't play aren't authorized. You'll be asked to authorize any unauthorized songs.Make sure your playlist will fit on a single CD
    If there are too many songs in a playlist to fit on a single CD, iTunes should ask if you want to burn multiple discs or cancel the burn. This message should appear: "The songs in this playlist will not fit on one Audio CD. Do you want to create multiple Audio CDs with this playlist split across them? This will require more than one blank CD to complete."
    If you click the Audio CDs button, the burn will continue and you'll be asked to insert blank CDs until the playlist is completely burned. If you click cancel, the burn will be canceled.
    To make the playlist shorter so that it will fit on a single CD, select a song to remove from the playlist and choose Edit > Clear. Repeat this step until the duration of the playlist is between 60 and 80 minutes. The duration appears at the top of the playlist window. Most CD-R discs can hold 60 to 80 minutes of music.
    Check how many times you've burned the playlist
    An unchanged playlist that contains songs purchased from the iTunes Store can be burned no more than seven times.Additional steps and submitting feedback
    Go to iTunes Support to get additional troubleshooting suggestions specific to your optical drive configuration or to submit feedback to Apple.Learn more
    For additional troubleshooting, please see these steps:
    Additional troubleshooting tips for burning issues
    iTunes for Windows doesn't recognize my audio CDs
    Last Modified: Feb 3, 2015
    Have a good day ...
    - Judy

  • The disk could not be read from or written to----help please!!

    Hey, I'm sorry if this has been posted numerous times, but I really need some help. Everytime I plug in my 30 gig 5thG ipod, I'll start to load songs on (either manually or automatically) and this message will pop up after about 50-100 songs have been loaded: "Attempting to copy to the disk, "ITIM" failed. The disk could not be read from or written to." This used to happen only once in a while, but now it's happening all the time. My ipod has no problem being recognized by itunes and the songs I have on it show up fine. It's a pain to load my library at intervals of 100 songs because I have about 6000 songs. I've also tried reseting my ipod several times, which doesn't seem to help at all. Any help would be greatly appreciated.

    That article mentions other things also, like any anti virus software you may have. You could try turning it off.
    It also mentions damaged song files.
    In truth it could be a lot of things, and it's curious that you say this used to happen once in a while.
    It could be also be a problem with the cable or even the iPod itself.
    I take it you've tried restoring the iPod?
    See: How to restore the iPod to factory settings.
    I don't know what iScrobbler is, but any software can interfere with the workings of the iPod (delicate and fussy little creatures that they are).

  • Failing to sync movies: "The disk could not be read from or written to."

    Hello,
    I had approx 10 movie files on my ipad which synced and played fine for the first month I had my ipad. I recently tried to add 3 more movies all in the exact same format as the previous 10, however now I get a message saying that the file could not be copied as the disk could not be read from or written to. I haven't made any major changes (that I am aware of) that would have triggered this.
    I've checked that my ipad and OS software are up to date, and tried restarting both my ipad and my comuter (a Macbook).
    I figured maybe I was out of disk space, and the capacity bar in itunes was wrong, so I removed 3 of the movies and tried to add one of the new ones - same error. I then put one of the old movies back on, and it worked fine.
    So, thinking maybe the problem could be solved by restoring my ipad, I created a backup and performed a restore. My apps and photos are safely back on the ipad - but now none of the movies will sync, all of them giving me the same error saying the disk could not be read from or written to.
    Has anybody got any idea what's going on? It's extremely frustrating as the ipad is such a good tool for watching movies on the go.
    Thanks,
    Sam

    I have run into the same problems on my iPod Classic. It seems the last couple of movies I have purchased from iTunes are the source of the problem. An interesting thing I have found is that, when purchased, the files causing the issues have saved to my internal HD, instead of the external drive that I have set as my library location.
    Another interesting thing is that this is isolated to the last 2 movies I have purchased and 1 of the last 2 rentals. Not with any music I have purchased or the other rental. So there is no consistency in it being only newest files. The only consistency is that it is movies that oddly store in the wrong location.
    I have done everything from trying to move my iTunes library location, resetting the ipod, software is up to date in everything (iPod, iTunes, Mac). I have tried disconnecting the external drive, and manually managing music and videos for the iPod sync. Everything will sync with the exception of the recent movies stored in the wrong location. Also, when trying to move the files from my internal hard drive to my external where the rest of my library lives, I get the same "...read or written to" error as I get when trying to sync to my iPod. No other files seem to be having any trouble moving around from internal to external to ipod.
    Sorry I don't have a solution yet. Hopefully this helps narrow down the problem, and save some troubleshooting time.

  • I have an iphone 5s and it is synced to itunes and works fine. previously I have downloaded audiobooks to my wifes 6th gen nano using this account - now I tunes does not recognize the device and also it seems that it is not being read by the computer?

    I have an iphone 5s and it is synced to itunes and works fine. previously I have downloaded audiobooks to my wifes 6th gen nano using this account - now I tunes does not recognize the device and also it seems that it is not being read by the computer?

    Hey Stan1958,
    Thanks for the question. I understand you are experiencing issues with your iPod nano and iTunes. Based on your symptoms, you may find the following resources helpful in resolving this issue:
    Windows
    iPod appears in Windows but not in iTunes
    iPod not recognized in 'My Computer' and in iTunes for Windows
    iTunes reports that "iTunes cannot recognize this iPod at this time"
    Thanks,
    Matt M.

  • My 3rd gen ipod nano is not being read by itunes when I plug it into my mac laptop.  It says "no name" on the mac screen, I lost all my music on the ipod itself.

    My 3rd gen iPod nano is not being read by my iTunes on my mac.  When going to sync, the mac screen says "no name". Also I believe I lost all the music on the iPod.  When turned on it says "Welcome" as if it is new.  I tried to copy all my music into the "no name" folder and then sync.  The iPod said it was "syncing".

    So does iTunes see the iPod or not?  I couldn't quite understand from your post as you said it wasn't, but then said that the iPod was syncing...
    B-rock

  • Touch can not be read from or written to

    After upgrading to iTunes 7.7.1 and iPod 2.0, I can not sync at all anymore. I get an error window telling me that my sync failed because my iPod Touch can not be read from or written to. I applied the "5 Rs" troubleshooting tips, to no avail. (5 Rs = restart, reset settings, reset iPod, remove files, restore).
    I went to the Genius Bar & they were able to eventually get it to sync, but replaced the unit anyway.
    I got home with my new iPod Touch and it had EXACTLY THE SAME problem as my old one did - the "could not read from or write to" my iPod Touch.
    I have a new appointment for next week at the Genius Bar.
    Has anyone else experienced this problem or know what the fix might be?
    I want to try restoring to the iPod 2.0 or prior iTunes software, but can not figure out how to do that.
    All help/suggestions are welcome!
    Heidi

    one of the solutions fixed the error on my itouch:
    Symptoms
    When using iTunes to sync photos to iPod and iPhone, iTunes creates a folder called iPod Photo Cache in the top level of the folder you selected for your photos. Picking another folder to sync does not erase the previous iPod Photo Cache. Depending on how many photos are being synced, the hard drive could fill up.
    Products Affected
    iPhone, iPod with color display, iPod photo, iPod nano, iPod nano (2nd generation), iPod (5th generation), iPod (5th generation Late 2006), iPod touch, iPod classic, iPod nano (3rd generation)
    Resolution
    Drag the folder named iPod Photo Cache to the Trash or Recycle Bin.
    If you're syncing from an iPhoto `08 album, use these steps to find the iPod Photo Cache:
    1. Go to your Pictures folder (~/Pictures) and locate the iPhoto Library file.
    2. Control-click the iPhoto Library file and choose Show Package Contents from the shortcut menu.
    3. In the iPhoto Library window, locate the iPod Photo Cache folder and drag it to the Trash.
    4. Close the iPhoto Library window.

  • [svn] 1978: Bug: vendors. properties file which is used in vendor specific login commands was not being read properly and as a result some login related error messages were not being displayed correctly .

    Revision: 1978
    Author: [email protected]
    Date: 2008-06-06 08:05:34 -0700 (Fri, 06 Jun 2008)
    Log Message:
    Bug: vendors.properties file which is used in vendor specific login commands was not being read properly and as a result some login related error messages were not being displayed correctly.
    QA: Yes - we need automated tests to make sure that errors.properties and vendors.properties in BlazeDS/LCDS are loaded properly.
    Doc: No
    Modified Paths:
    blazeds/branches/3.0.x/modules/common/src/java/flex/messaging/util/PropertyStringResource Loader.java
    blazeds/branches/3.0.x/modules/opt/src/jrun/flex/messaging/security/JRunLoginCommand.java
    blazeds/branches/3.0.x/modules/opt/src/tomcat/flex/messaging/security/TomcatLoginCommand. java

    I have a lot of grief with this version of Windows Media Player.
    It is very buggy and frustrating to use.
    I have my Music library on a QNAP NAS, which is as reliable as they come.
    System notifications make it not save changes.  It also does not do a good job of interpreting albums and artists from folders.  Changes to track names are not saved, nor are tracks moved to other albums, renamed albums, changes to genre, artist
    or date.  It separates and merges albums/tracks without sense or reason.  Some changes I've made up to 4 times, then closed WMP and re-started my machine to check if it has/hasn't saved the changes.  Often it has not.
    This is the first time I've used WMP in this capacity, and I do not recommend it.
    New service pack please.

  • Cases where messages are not being consumed from a queue

    MQ 4.0
    I have a cluster of 3 brokers. Java clients use RANDOMIZE to connect to the cluster of brokers. Message selectors are not used. My consumers are all synchronous, and connection.start() is called prior to calling MessageConsumer.receive().
    What I have seen on random occassions are messages not being consumed from the queue. The problem seems to be sporadic.
    I was thinking that the reason it is sporadic is because of the RANDOMIZE configuration of the client connetion / object-store.
    That is, there is a possibility for the following to happen:
    1) There were messages produced on a queue on broker A, but before these messages were consumed, all the consumers have been shutdown. Thus, the messages on queue stayed on broker A .... and have not been copied / clustered to the other brokers in the cluster ( As per online documentation, a queue is "copied" to other brokers only when there is a consumer for that queue on the other brokers ).
    2) Then the client applications started up produced and consumers again. This time, the producers were all connected to broker B, and all consumers for the queue were also connected to broker B.
    3) Because there are no other consumers for the queue on the other brokers, the messages in the queue on broker A are never consumed.
    Can someone confirm that this is a possibility ?

    Well ... it does seem to be the case.
    I changed the object-store so that instead of using RANDOMIZE for imqAddressListBehavior, it uses PRIORITY. Therefore, all clients ( producers and consumers ) will connect to only 1 broker out of the 3 in the cluster.
    After restarting all JMS clients with the new imqAddressListBehavior, there were messages in various queues in the other brokers that were not being consumed, because there are no longer any consumers on any of the other brokers.
    All the messages in that broker that all JMS clients connect to are being consumed ...
    Except for about 6 messages that stays in the queue for whatever reason. All consumers receiving with receive( 10000 ), and after consuming all messages above the 6, it returns without any more messages in the queue.
    Well ... so much for cluster of brokers. I'll have to think of an alternative.

  • Invite Email not being sent from iCal from a Google Apps calendar

    Hello,
    I am running Mac OS X 10.6.5, iCal 4.0.4, and am attempting to do the following from a Google Apps calendar I have setup in iCal. Please note that it's not gmail, it's Google Apps. If that makes a difference. That being said...
    I am trying to create a meeting invite from iCal. I am able to create the invite and add attendees with no problem. When I hit send (from iCal), the invitees do not receive an email notification of the event, but it does appear their calendar (both in iCal and via Google Calendar on the web). I need an email to be sent to the invitees that they have been invited to a meeting, not just to have it appear on their calendars.
    When I create the meeting invite via Google Calendar on the Web the invitees do receive an email notification (as specified in their calendar preferences). The issue only happens when the meeting invite is created in iCal.
    When an invitee accepts or declines a meeting via iCal I receive an acceptance or declining email. Just not when the meeting invite is sent.
    Also, I am able to create a meeting on one of the "On My Computer" calendars in iCal, invite people, and a meeting invitation is sent as expected.
    And again, the invitees have notification of meeting invites turned on in their calendar settings (as is shown by the fact that when the invite is sent out via Google Calendar on the Web they receive an email with the invite).
    Thanks! Any assistance would be awesome.
    Aaron

    That was actually my post on the Google forums
    Here is what I have found so far (and hopefully some of my assumptions are correct, because we're making the full switch to Google Apps this weekend and I am assuming it will work after this). This is long, but I'm trying to be thorough. Also note that I have updated to 10.6.6 since the time I first posted my last message.
    We are currently piloting Google Apps, so our primary domain (which I will refer to from now on as domain.com) still points to our old exchange servers. Mail is currently being delivered to our Google Apps pilot accounts the following way:
    1. User sends an email to [email protected]. This email is delivered to our old Exchange servers.
    2. Once the email is received on our old Exchange servers it gets forwarded to our Google Apps test domain (gtest.domain.com).
    This seems to be an important piece of the puzzle as our primary domain (domain.com) shows up on the Google Apps for Admin dashboard as improperly setup (which is correct, because we're currently piloting)
    So, in iCal I have my Google Apps account setup (I'm one of the pilot users) the following way. I added the Account as Google calendar in iCal, but once the account shows up it shows up as a CalDAV account.
    Under the account information tab:
    CalDAV
    Description: [email protected]
    User name: [email protected]
    Password: my password
    Under the server settings tab (*NOTE: these were entered in automatically when I setup the calendar as a Google calendar)
    Server address: www.google.com
    Server path: the path to my calendar.
    Use SSL is checked
    Use Kerberos v5 is NOT checked
    So, during my testing I was sending meeting invites from people who were in the Google Apps pilot to other people who were in the Google Apps pilot. When I was doing that, no invitations were getting sent.
    I created a new email account on our exchange server ([email protected]) but did NOT set it up to be a part of the Google Apps pilot (this means that emails were not being forwarded from [email protected] to [email protected]). Doing this successfully delivered all invites, cancellations, and meeting updates from iCal!
    From what I can tell there must be something going on (probably my own fault) when a calendar invite is sent from my Google Apps account, through our old Exchange system, and then back to our Google Account. My assumption is it has something to do with the fact that our MX records for domain.com currently point to our old exchange servers, and the MX records for gtest.domain.com point to the Google Apps servers. It may also have something to do with the SPF record which only allows emails from domain.com to be sent from our Exchange servers.
    Those are just guesses though as I am not very knowledgeable in that area.
    I hope this helps and I would love to hear about anyone else working on this issue.

Maybe you are looking for

  • Script Alert: "Sorry I could not process the following files" (Error Message using Image Processor)

    I'm a seasoned Photoshop/Bridge CS5 user who recently upgraded to CS6.  In Bridge I just ran my first Image Processor batch, trying to convert a set of RAW .NEF files to .PSD files with a basic editing action I created applied to them.  Photoshop CS6

  • My "Home" is a GIF file on my C: drive, but the Home button will not display the file anymore.

    I am now on Firefox 6.0.2. Prior to this upgrade when I clicked the Home button I would see a GIF file from my hard drive displayed. This is how it was coded in my Options: file:///C|/$USER/OTHER/BITMAPS/THINK.GIF This file is also a Bookmark of mine

  • How to Enable Loopback Processing in W2K8

    How to Enable Loopback Processing in Windows Server 2008. I am unable to find following: In the Group Policy Microsoft Management Console (MMC), click Computer Configuration. Locate Administrative Templates, click System, click Group Policy, and then

  • First time scripting question

    Is this a situation where I should learn how to use scripting in DVD Studio? I have a video with 12 chapters with chapter markers. When a viewer chooses to watch an individual chapter, rather than the full video, I want a 10 second video to play befo

  • Connect 2 BW to the same client in R3?

    Hi,     Is it possible to connect 2 BW to the same client of R/3 as a source system? Will this mess up the delta queue like in RSA7? Or, the R3 system has separate queue for each BW? Please advise. Thanks, Jeff