|
From: parag v. (JIRA) <nh...@gm...> - 2011-05-27 08:02:54
|
Nhibernate 3.0 Upgrade Mapping Issue
------------------------------------
Key: NH-2745
URL: http://216.121.112.228/browse/NH-2745
Project: NHibernate
Issue Type: Bug
Components: Core
Affects Versions: 3.0.0.GA
Reporter: parag vyas
Priority: Critical
Attachments: ServerConfiguration.png
Hello
This is my server configuration -- > Find attached Document
This exception I get when I upgrade to NHibernate3 and host my code on my server.
Exception information: Exception type: MappingException Exception message: Could not compile the mapping document: (unknown)
Stack trace: at NHibernate.Cfg.Configuration.LogAndThrow(Exception exception)
at NHibernate.Cfg.Configuration.LoadMappingDocument(XmlReader hbmReader, String name)
at NHibernate.Cfg.Configuration.AddXmlReader(XmlReader hbmReader, String name)
at NHibernate.Cfg.Configuration.AddInputStream(Stream xmlInputStream, String name)
at NHibernate.Cfg.Configuration.AddInputStream(Stream xmlInputStream)
Please reply if you have any idea...............
Thanks
Parag Vyas
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
|
From: Julian M. (JIRA) <nh...@gm...> - 2011-05-27 15:59:59
|
[ http://216.121.112.228/browse/NH-2745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julian Maughan closed NH-2745.
------------------------------
Resolution: Not an Issue
Until you have more concrete proof of a bug in NH (and can provide specific details), please direct your question to the NHibernate Users Group (http://groups.google.com/group/nhusers) - where you are more likely to get help.
> Nhibernate 3.0 Upgrade Mapping Issue
> ------------------------------------
>
> Key: NH-2745
> URL: http://216.121.112.228/browse/NH-2745
> Project: NHibernate
> Issue Type: Bug
> Components: Core
> Affects Versions: 3.0.0.GA
> Reporter: parag vyas
> Priority: Critical
> Attachments: ServerConfiguration.png
>
>
> Hello
> This is my server configuration -- > Find attached Document
> This exception I get when I upgrade to NHibernate3 and host my code on my server.
> Exception information: Exception type: MappingException Exception message: Could not compile the mapping document: (unknown)
> Stack trace: at NHibernate.Cfg.Configuration.LogAndThrow(Exception exception)
> at NHibernate.Cfg.Configuration.LoadMappingDocument(XmlReader hbmReader, String name)
> at NHibernate.Cfg.Configuration.AddXmlReader(XmlReader hbmReader, String name)
> at NHibernate.Cfg.Configuration.AddInputStream(Stream xmlInputStream, String name)
> at NHibernate.Cfg.Configuration.AddInputStream(Stream xmlInputStream)
> Please reply if you have any idea...............
> Thanks
> Parag Vyas
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
|
From: parag v. (JIRA) <nh...@gm...> - 2011-05-28 06:39:36
|
[ http://216.121.112.228/browse/NH-2745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=21212#action_21212 ]
parag vyas commented on NH-2745:
--------------------------------
I have already post this issue there
> Nhibernate 3.0 Upgrade Mapping Issue
> ------------------------------------
>
> Key: NH-2745
> URL: http://216.121.112.228/browse/NH-2745
> Project: NHibernate
> Issue Type: Bug
> Components: Core
> Affects Versions: 3.0.0.GA
> Reporter: parag vyas
> Priority: Critical
> Attachments: ServerConfiguration.png
>
>
> Hello
> This is my server configuration -- > Find attached Document
> This exception I get when I upgrade to NHibernate3 and host my code on my server.
> Exception information: Exception type: MappingException Exception message: Could not compile the mapping document: (unknown)
> Stack trace: at NHibernate.Cfg.Configuration.LogAndThrow(Exception exception)
> at NHibernate.Cfg.Configuration.LoadMappingDocument(XmlReader hbmReader, String name)
> at NHibernate.Cfg.Configuration.AddXmlReader(XmlReader hbmReader, String name)
> at NHibernate.Cfg.Configuration.AddInputStream(Stream xmlInputStream, String name)
> at NHibernate.Cfg.Configuration.AddInputStream(Stream xmlInputStream)
> Please reply if you have any idea...............
> Thanks
> Parag Vyas
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
|
From: parag v. (JIRA) <nh...@gm...> - 2011-05-28 10:47:37
|
[ http://216.121.112.228/browse/NH-2745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=21214#action_21214 ]
parag vyas commented on NH-2745:
--------------------------------
But I have the same site of N-Hibernate1 which is hosted on same server and it is working fine
So Can you tell me is any thing related to XML Serialize change with the version of N-Hibernate?
This is the configuration which i use
-------------------------------------
System.IO.MemoryStream stream = new System.IO.MemoryStream();
NHibernate.Mapping.Attributes.HbmSerializer.Default.Validate = true;
NHibernate.Cfg.Configuration cfg = new NHibernate.Cfg.Configuration();
cfg.SetProperty("connection.connection_string", DomainUtility.GetConnectionString());
cfg.SetProperty("connection.provider", "NHibernate.Connection.DriverConnectionProvider");
cfg.SetProperty("connection.driver_class", "NHibernate.Driver.SqlClientDriver");
cfg.SetProperty("dialect", "NHibernate.Dialect.MsSql2005Dialect");
cfg.SetProperty("connection.isolation", "ReadCommitted");
cfg.SetProperty("command_timeout", "60000");
cfg.SetProperty("adonet.batch_size", "500");
cfg.SetProperty("proxyfactory.factory_class", "NHibernate.ByteCode.Castle.ProxyFactoryFactory, NHibernate.ByteCode.Castle");
cfg.SetProperty("use_proxy_validator", "false");
NHibernate.Mapping.Attributes.HbmSerializer.Default.Serialize(
stream, Assembly.GetExecutingAssembly());
stream.Position = 0;
cfg.AddInputStream(stream);
> Nhibernate 3.0 Upgrade Mapping Issue
> ------------------------------------
>
> Key: NH-2745
> URL: http://216.121.112.228/browse/NH-2745
> Project: NHibernate
> Issue Type: Bug
> Components: Core
> Affects Versions: 3.0.0.GA
> Reporter: parag vyas
> Priority: Critical
> Attachments: ServerConfiguration.png
>
>
> Hello
> This is my server configuration -- > Find attached Document
> This exception I get when I upgrade to NHibernate3 and host my code on my server.
> Exception information: Exception type: MappingException Exception message: Could not compile the mapping document: (unknown)
> Stack trace: at NHibernate.Cfg.Configuration.LogAndThrow(Exception exception)
> at NHibernate.Cfg.Configuration.LoadMappingDocument(XmlReader hbmReader, String name)
> at NHibernate.Cfg.Configuration.AddXmlReader(XmlReader hbmReader, String name)
> at NHibernate.Cfg.Configuration.AddInputStream(Stream xmlInputStream, String name)
> at NHibernate.Cfg.Configuration.AddInputStream(Stream xmlInputStream)
> Please reply if you have any idea...............
> Thanks
> Parag Vyas
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|