none
Formatting bug when including a PRE tag. RRS feed

Answers

  • Yes. We need a mod or the OP to fix it. I'll post requesting that.

    So the answer about corruption like this is that we try to translate all formatting, but it's not possible to do so. So in cases like this (where someone pasted in a lot of formatting and nesting data), it requires a manual fix.


    Ed Price (a.k.a User Ed), SQL Server Experience Program Manager (Blog, Twitter, Wiki)

    Friday, June 8, 2012 12:14 AM
    Owner

All replies

  • A forum mod will need to fix that.

    I can try to repro here...

    [InvalidOperationException: The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine.]
       System.Data.OleDb.OleDbServicesWrapper.GetDataSource(OleDbConnectionString constr, DataSourceWrapper& datasrcWrapper) +1786494
       System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection) +1795286
       System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject) +100
       System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup) +43
       System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +6352783
       System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +6353246
       System.Data.OleDb.OleDbConnection.Open() +48
       System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +292
       System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +420
       System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) +312
       System.Web.UI.WebControls.SqlDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +3422599
       System.Web.UI.WebControls.ListControl.OnDataBinding(EventArgs e) +188
       System.Web.UI.WebControls.ListControl.PerformSelect() +51
       System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +105
       System.Web.UI.WebControls.ListControl.OnPreRender(EventArgs e) +35
       System.Web.UI.Control.PreRenderRecursiveInternal() +113
       System.Web.UI.Control.PreRenderRecursiveInternal() +222
       System.Web.UI.Control.PreRenderRecursiveInternal() +222
       System.Web.UI.Control.PreRenderRecursiveInternal() +222
       System.Web.UI.Control.PreRenderRecursiveInternal() +222
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4201 


    Ed Price (a.k.a User Ed), SQL Server Experience Program Manager (Blog, Twitter, Wiki)

    Wednesday, June 6, 2012 12:33 AM
    Owner
  • So this result is as expected (scrollbar). We need to have the original poster (OP) explain what they did (my guess is they used a custom code block that's not compatible or pasted in some formatting that couldn't be translated properly). Or a mod could check it out and maybe fix it.

    Thanks!


    Ed Price (a.k.a User Ed), SQL Server Experience Program Manager (Blog, Twitter, Wiki)

    Wednesday, June 6, 2012 12:35 AM
    Owner
  • Hmmm.. Yes, maybe there's more to it than just a PRE tag.  It seems to be nested and formatted in many additional ways.

    But you do see that the one I linked to is messed up, right?  Thanks for looking into it.

    Wednesday, June 6, 2012 1:36 PM
  • Yes. We need a mod or the OP to fix it. I'll post requesting that.

    So the answer about corruption like this is that we try to translate all formatting, but it's not possible to do so. So in cases like this (where someone pasted in a lot of formatting and nesting data), it requires a manual fix.


    Ed Price (a.k.a User Ed), SQL Server Experience Program Manager (Blog, Twitter, Wiki)

    Friday, June 8, 2012 12:14 AM
    Owner